-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
59 lines (58 loc) · 2.5 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
51
52
53
54
55
56
57
58
59
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="description" content="This calculator provides your BMI measurements. Let's check and find out your (Body Mass Index) BMI.">
<meta name="keywords" content="bmi calc, bmi calculator, tamimcpp">
<meta name="author" content="Tamim Ahmad">
<meta name="google-site-verification" content="x3Wj_ZDZQWEhXWp9FGGOfKnR22A7PGQ4CxgB4Iie9zk">
<title>BMI Calculator, measure your BMI</title>
<link rel="icon" href=".image/favicon.ico" sizes="16x16" type="image/ico">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<link rel="stylesheet" type="text/css" href="./css/style.css">
</head>
<body>
<div class="cards">
<form>
<div id="weightInput" class="input-field">
<input id="weight" type="number" pattern="[0-9]*" placeholder="Enter weight in (kg)">
</div>
<div id="heightInput" class="input-field">
<input id="height" type="number" pattern="[0-9]*" placeholder="Enter height in (feet)">
</div>
<div id="showResult"></div>
<div class="reset">
<button type="button" class="waves-effect"
onClick="window.location.reload()"><span></span><span></span><span></span><span></span>reset</button>
</div>
<div class="results">
<button type="button" class="waves-effect"
onclick="results()"><span></span><span></span><span></span><span></span>Compute BMI</button>
</div>
</form>
</div>
<div class="cards-2">
<div class="message">
<span>Healthy BMI range: 18.5 kg/m<sup>2</sup> - 25 kg/m<sup>2</sup> 🔹 Healthy weight for the height: 59.9 kg - 81.0 kg 🔹 Ponderal Index: 11.1 kg/m<sup>3</sup></span>
</div>
<div id="showUnderweight"></div>
<div id="showNormal"></div>
<div id="showOverweight"></div>
<div id="showObese"></div>
</div>
<div id="message"></div>
<div class="footer">
<div class="icons">
<a href="#"><i class="fab fa-twitter-square"></i></a>
<a href="#"><i class="fab fa-instagram-square"></i></a>
<a href="#"><i class="fab fa-linkedin"></i></a>
<a href="#"><i class="fab fa-github-square"></i></a>
<a href="#"><i class="fab fa-dev"></i></a>
</div>
<span>Made with 💝 by <a href="https://github.com/mdtamimcpp"> Tamim Ahmad.</a></span>
</div>
<script src="./js/main.js"></script>
</body>
</html>