-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (32 loc) · 1.07 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BMI Calculator</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<nav>
<a href="https://www.linkedin.com/in/manshi--tyagi" target="_blank">LinkedIn</a>
<a href="https://github.com/TyagiManshi" target="_blank">GitHub</a>
</nav>
<hr>
<div class="container">
<h1>BMI Calculator</h1>
<form>
<p><label for="height">Height in CM: </label><input id="height" type="text"></p>
<p><label for="weight"></label>Weight in KG: <input id="weight" type="text"></p>
<button>Calculate</button>
<div id="results"></div>
<div class="info">
<h3>BMI Weight Guide</h3>
<p>Under Weight = Less than 18.5</p>
<p>Normal Weight = 18.5 and 24.9</p>
<p>OverWeight = More than 24.9</p>
</div>
</form>
</div>
<script src="script.js"></script>
</body>
</html>