-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (36 loc) · 1.05 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Project 2</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="main">
<h2>
BMI CALCULATOR
</h2>
<div class="inputbox">
<div class="box">
<p>Height in cm</p>
<input type="number" id="height" value="">
</div>
<div class="box">
<p>Weight in kg</p>
<input type="number" id="weight" value="">
</div>
</div>
<button id="calc">Calculate</button>
<p class="result" >
</p>
<details>
<summary><strong>BMI WEIGHT GUIDE</strong></summary>
<summary>Under Weight = Less Than 18.6</summary>
<summary>Normal Weight = 18.6 and 24.9</summary>
<summary>Over Weight = Greater Than 24.9 </summary>
</details>
</div>
<script src="script.js"></script>
</body>
</html>