-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (30 loc) · 958 Bytes
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="style.css" />
<title>BMI Calculator</title>
</head>
<body>
<div class="container">
<div class="img">
<h1>BMI Calculator</h1>
<form>
<p><label>Height in CM: </label><input type="text" id="height" /></p>
<p><label>Weight in KG: </label><input type="text" id="weight" /></p>
<div id="results"></div>
<button>Calculate</button>
<div id="weight-guide">
<h3>BMI Weight Guide</h3>
<p id="under">Under Weight = Less than 18.6</p>
<p id="normal">Normal Range = 18.6 and 24.9</p>
<p id="overweight">Overweight = Greater than 24.9</p>
</div>
</form>
</div>
</div>
</body>
<script src="script.js"></script>
</html>