-
Notifications
You must be signed in to change notification settings - Fork 16
/
calculator.html
245 lines (239 loc) · 9.33 KB
/
calculator.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<link rel="stylesheet" href=" https://fonts.googleapis.com/css?family=Montserrat:300,400,700,900|Ubuntu&display=swap" rel="stylesheet">
<link rel="icon" type="image/png" href="images/BEFIT.png" sizes="32X32">
<link rel="stylesheet" href="./css/header-footer.css">
<link rel="stylesheet" href="./css/calculator.css">
<title>BMI Calculator</title>
</head>
<body>
<!-- NAVBAR STARTS HERE -->
<header>
<!-- DESKTOP NAVBAR STARTS -->
<nav class="container-fluid topnav hide">
<div class="row wrapper">
<div class="col-3 col-sm-3 col-md-3 col-lg-3">
<h1 class="company-name">BE<b id="bold">FIT</b></h1>
</div>
<div class="col-9 col-sm-9 col-md-9 col-lg-9">
<ul class="navigation">
<li><a href="./index.html">HOME</a></li>
<li><a href="./services.html">SERVICES</a></li>
<li><a href="./products.html">PRODUCTS</a></li>
<li><a href="./pricing.html">PLANS</a></li>
<li><a href="./calculator.html">BMI</a></li>
<li><a href="./error.html">4O4 ERROR</a></li>
<li><a href="./team.html">OUR TEAM</a></li>
<li><a href="./about.html">ABOUT US</a></li>
<li><a href="./contact.html">CONTACT</a></li>
</ul>
</div>
</div>
</nav>
<!-- DESKTOP NAV NAVBAR ENDS HERE -->
<!-- MOBILE NAV STARTS -->
<div class="fixed-top guy hide-mobile-nav">
<div class="collapse navbar-collapse" id="navbarToggleExternalContent">
<div class="p-4 nav-bg">
<h5 class="text-white h4">
<ul class="mobile-nav">
<li>
<input class="form-control mr-sm-2" type="search" placeholder="Search Keyword" aria-label="Search">
</li>
<li><a href="./index.html">HOME</a></li>
<li><a href="./services.html">SERVICES</a></li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown"
aria-haspopup="true" aria-expanded="false">
PAGES
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
<a class="dropdown-item text-dark" href="./products.html">PROUCTS</a>
<a class="dropdown-item text-dark" href="./pricing.html">PLANS AND PRICING</a>
<a class="dropdown-item text-dark" href="./calculator.html">BMI</a>
<a class="dropdown-item text-dark" href="./error.html">4O4 ERROR</a>
</div>
</li>
<li><a href="./team.html">OUR TEAM</a></li>
<li><a href="./about.html">ABOUT US</a></li>
<li><a href="./contact.html">CONTACT</a></li>
</ul>
</h5>
</div>
</div>
<nav class="navbar navbar-dark hj">
<h1 class="company-name-mobile">BE<b id="bold">FIT</b></h1>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarToggleExternalContent"
aria-controls="navbarToggleExternalContent" aria-expanded="false" aria-label="Toggle navigation">
<span class=""><img src="./images/navicon.svg" id="navicon"></span>
</button>
</nav>
</div>
<!-- MOBILE NAV ENDS -->
</header>
<div class="text-white jumbo-bg">
<div class="jumbo-wrapper">
<div class="jumbo-text">
<p class="jumbo-colored pb-2 calculate__now">Calculate now</p>
<h2 class="calculate__bmi">Calculate your <br> BMI</h2>
<p class="herop2">BEFIT provides all kind of fitness training
with modern instruments
</p>
<a class="d-inline-block d-md-none mx-auto startbtn py-3 px-4 text-white" href="#start">START</a>
</div>
</div>
</div>
<section class="w-100 sec text-white p-4 text-center">
<div class="mx-auto">
<div class="calculator-info mx-auto">
<h3 id="start" class="p-3 font-weight-bold">BMI CALCULATOR</h3>
<div class="d-lg-flex bmicalc w-100 text-left p-2">
<div class="w-75 weightheightwrap">
<div class="d-flex weightheight w-100">
<div class="p-2">
<h5>Height</h5>
<div class="form-group">
<label class="d-block m-0 pb-1">Feet</label>
<input class="form-control" type="number" id="feet">
</div>
<div class="form-group">
<label class="d-block m-0 pb-1">Inches</label>
<input class="form-control" type="number" id="inches">
</div>
<div class="form-group">
<label class="d-block m-0 pb-1">or Centimeters</label>
<input class="form-control" type="number" id="centimeters">
</div>
</div>
<div class="p-2">
<h5>Weight</h5>
<div class="form-group">
<label class="d-block m-0 pb-1">Pounds</label>
<input class="form-control" type="number" id="pounds">
</div>
<div class="form-group">
<label class="d-block m-0 pb-1">or Kilogram</label>
<input class="form-control" type="number" id="kilogram">
</div>
<div class="form-group">
<label class="d-block m-0 pb-1 font-weight-bolder">Age</label>
<input class="form-control" type="number" id="age">
</div>
</div>
</div>
<div class="d-flex calcbtn p-2">
<div class="mr-3">
<button id="calcbtn" class="btn w-100">Calculate</button>
</div>
<div class="mb-3 ml-4">
<input class="w-100 form-control" type="number" id="result" placeholder="Result">
</div>
</div>
</div>
<div class="ml-1 mt-lg-2 mx-auto tablewrap d-flex justify-content-center align-items-center">
<table class="table text-white table-bordered">
<thead>
<tr class="text-center">
<th scope="col" colspan="2">BMI categories</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">Below 18.5</th>
<td>Underweight</td>
</tr>
<tr>
<th scope="row">18.5 - 24.9</th>
<td>Normal</td>
</tr>
<tr>
<th scope="row">25.0 - 29.9</th>
<td>Overweight</td>
</tr>
<tr>
<th scope="row">30.0 and above</th>
<td>Obese</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div class="pt-4 bmidetails px-md-5 pb-5 text-dark">
<p>
Body Mass Index (BMI) is a person's weight in kilograms divided by the square of height in
meters.
A high
BMI can be an indicator of high body fatness. BMI can be used to screen for weight categories
that
may
lead to health problems but it is not diagnostic of the body fatness or health of an individual.
</p>
</div>
<div class="img-show d-md-flex container mx-auto">
<div> <img src="./images/calc-img/gympic1.png" alt="gym equipment"></div>
<div> <img src="./images/calc-img/abpic2.png" alt="six packs"></div>
<div> <img src="./images/calc-img/liftweightpic3.png" alt="weight lifting"></div>
</div>
</div>
</section>
<!-- DESKTOP FOOTER STARTS -->
<footer class="foot hide">
<nav class="foot-nav">
<ul class="footnav">
<li class="companyname desk">BEFIT</li>
<li class="margin list"><a href="./index.html"></a>HOME</li>
<li class="list"><a href=""></a>TOUR</li>
<li class="list"><a href=""></a>COOKIES POLICY</li>
<li class="list"><a href=""></a>LEGAL TERMS</li>
</ul>
<hr id="hr">
<div class="socials">
<p class="slogn">THE BEST WAY TO BE HEALTHY</p>
<p class="socialicons margin">
<a href="#"><img class="m-0 p-0 px-2 margin" src="./images/instagram.svg" alt="instagram logo"></a>
<a href="#"><img class="m-0 p-0 px-2" src="./images/twitter.svg" alt="twitter logo"></a>
<a href="#"><img class="m-0 p-0 px-2" src="./images/facebook.svg" alt="pinterest logo"></a>
</p>
</div>
</nav>
</footer>
<!-- FOOTER ENDS -->
<!-- MOBILE FOOTER STARTS -->
<footer class="mobile-foot hd">
<div>
<h1 class="companyname">BEFIT</h1>
</div>
<div>
<ul class="mobilenav">
<li><a href="./index.html">HOME</a></li>
<li><a href=""></a>TOUR</li>
<li><a href=""></a>COKIES POLICY</li>
<li><a href=""></a>LEGAL TERMS</li>
</ul>
</div>
<div>
<ul class="mobilenav">
<li class="">THE BEST WAY TO BE HEALTHY</li>
<li>
<p class="socialicons margin">
<a href="#"><img class="m-0 p-0 px-2 margin" src="./images/instagram.svg" alt="instagram logo"></a>
<a href="#"><img class="m-0 p-0 px-2" src="./images/twitter.svg" alt="twitter logo"></a>
<a href="#"><img class="m-0 p-0 px-2" src="./images/facebook.svg" alt="pinterest logo"></a>
</p>
</li>
</ul>
</div>
</footer>
<!-- MOBILE FOOTER ENDS -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script src="./js/calculator.js"></script>
<script src="./assets/font awsome/js/all.js"></script>
</body>
</html>