-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (67 loc) · 1.86 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
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 http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bmi Calculator</title>
<link rel="stylesheet" href="./assets/style/style.css" />
</head>
<body>
<!-- Flower bg right -->
<div>
<img
src="./assets/img/flower.webp"
alt="flower_right"
id="flower_right"
/>
</div>
<!-- Logo -->
<div class="logo">
<img src="./assets/img/Bmi logo.webp" alt="logo" class="logo_img" />
</div>
<!-- BMI Calculator -->
<div id="bmicontainer">
<form method="" name="bmi" id="bmi_form" onsubmit="calculateBmi()">
<!-- Input type for weight -->
<div class="form-gp">
<label for="lblweight" class="labels">WEIGHT (KG)</label>
<input
id="weight"
type="number"
name="weight"
min="25"
max="730"
step=".1"
required
/>
</div>
<!-- Input type for height -->
<div class="form-gp">
<label for="lblheight" class="labels">HEIGHT (CM)</label>
<input
id="height"
type="number"
name="height"
min="22"
max="275"
step=".1"
required
/>
</div>
<!-- Button calculate -->
<button name="button" id="btnCalculate">CALCULATE</button>
<!-- Result -->
<div class="result">
<p id="output1"></p>
</div>
</form>
</div>
<!-- Flower bg left -->
<div id="bottom_flower">
<img src="./assets/img/flower.webp" alt="flower_left" id="flower_left" />
</div>
<!-- js Script -->
<script src="./assets/js/script.js"></script>
</body>
</html>