Skip to content

Commit 431d992

Browse files
committed
wait me javaScript
1 parent 6d0625a commit 431d992

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ <h1>Hello, world! I am coming for you!</h1>
2525
<p>I am learning JavaScript you idiot, I will do this for so long. </p>
2626
</div>
2727
<diV class="main2">
28+
<h2 id="truth">I am I taller guy?</h2>
2829
<h3 id="bmi">I will come to this with JavaScript</h3>
2930
</diV>
30-
3131

3232
<script src="/src/script/app.js"></script>
3333
</body>

src/script/app.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@ const bmi = weight / hight ** 2
2323

2424
let mybmi = document.getElementById("bmi")
2525
mybmi.innerHTML = "The Body-Mass Index of Akele Is " + bmi
26+
27+
document.getElementById("truth").innerHTML = hight<1.90

0 commit comments

Comments
 (0)