-
Notifications
You must be signed in to change notification settings - Fork 0
/
bmiCalculator.html
53 lines (50 loc) · 1.49 KB
/
bmiCalculator.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>BMI Calculator</title>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap"
rel="stylesheet"
/>
<!-- Bootstrap CSS -->
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous"
/>
<style>
* {
font-family: "montserrat", Verdana, Geneva, Tahoma, sans-serif;
}
</style>
</head>
<body>
<div class="container jumbotron" style="margin: 8%;">
<h1>BMI Calculator</h1>
<hr />
<form action="/bmiCalculator" class="form-group" method="POST">
<div class="row">
<div class="col-md-6">
<label for="height">Enter Your Height</label>
<input type="text" id="height" class="form-control" name="height" />
</div>
<div class="col-md-6">
<label for="weight">Enter Your Weight</label>
<input type="text" id="weight" class="form-control" name="weight" />
</div>
</div>
<br />
<button type="submit" class="btn btn-primary">
Caculate BMI
</button>
</form>
</div>
</body>
</html>