-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (29 loc) · 998 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
<!DOCTYPE html>
<html la="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>
<script src="script.js"></script>
<div class="container">
<!-- <h1 style="text-align: center;">KNOW YOUR HEALTH</h1> -->
<h2 style="text-align: center;">KNOW YOUR BMI</h2>
<form >
<p class="inputs">
<label>Height(cm)</label>
<input type="number" id="Height" min="1">
</p>
<p class="inputs">
<label>Weight(kg)</label>
<input type="number" id="Weight" min="1">
</p>
<button class="bmi_btn">Calculate </button>
<div style="margin-top: 20px;">your bmi is: <p id="results"></p></div>
<p id="message"></p>
</form>
</div>
</body>
</html>