-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (50 loc) · 2.26 KB
/
Copy pathindex.html
File metadata and controls
73 lines (50 loc) · 2.26 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!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>
<!-- Bootstrap css cdn -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-LN+7fdVzj6u52u30Kp6M/trliBMCMKTyK833zpbD+pXdCLuTusPj697FH4R/5mcr" crossorigin="anonymous">
<!-- CSS file link -->
<link rel="stylesheet" href="style.css">
<!-- Font-awesome cdn link -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
<!-- Favicon.ico link -->
<link rel="icon" href="/assets/favicon.ico.ico" type="image/x-icon" />
</head>
<!-- Body tag start here -->
<body class="bg-dark">
<nav class="navbar navbar-expand-lg mb-auto">
<div class="container-fluid">
<a class="navbar-brand" href="#">BodySense</span> <span style="color: #0d6efd;">Pro</a>
</div>
</nav>
<div class="container flip-box-init">
<div class="scroll-animation">
<p class="scroll-text"> Track Smart, Live Better</p>
</div>
<h1 class="zoom-in-text-right">BMI Calculator</h1>
<form id="bmi-form">
<h5><label>Height in CM</label> <input type="text" id="height" class="form-control mb-3"></h5>
<h5><label>Weight in KG</label> <input type="text" id="weight" class="form-control mb-3"></h5>
<button type="submit" class="zoom-in-left">Calculate</button>
<div id="results"></div>
<audio src="audio/alert.mp3" id="alert" preload="auto"></audio>
<h5 >BMI guide</h5>
<div id="weight-guide" class="zoom-in-bottom-up">
<p id="leas">Under weigth = less than 18.6</p>
<p id="normal">Normal Range = 18.6 and 24.9</p>
<p id="over">Overweight = Greator than 24.9</p>
</div>
</form>
</div>
<!-- javascript file link -->
<script src="script.js"></script>
<!-- Bootstrap js cdn link -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.7/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ndDqU0Gzau9qJ1lfW4pNLlhNTkCfHzAVBReH9diLvGRem5+R9g2FzA8ZGN954O5Q"
crossorigin="anonymous"></script>
</body>
</html>