-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
50 lines (37 loc) · 1.03 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
45
46
47
48
49
50
<!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" type="text/css" href="main.css" ></link>
<script src="main.js"></script>
</head>
<body class="main-body">
<form class="main-body">
<h6 id="first-title">BMI Calculator</h6>
<div id="heights">
<input type="number" id="feet" placeholder="Feet"></input>
<span class="apos">'</span>
<input type="number" id="inches" placeholder="Inches"></input>
<span class="apos">"</span>
</div>
<br/>
<input id="weight" type="number" placeholder="Weight(lbs)"></input>
<br/>
<button class="my-submit" type="button" onclick="bmiOperation()"> submit </button>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<h3 id="first-paragraph">Identify your BMI and see where you stand, be healthy ! </h3>
<h2 id="result"> You have a BMI of </h2>
<p id="advice"></p>
<button type="reset" onclick="reset()">Reset</button>
</form>
</body>
</html>