-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (68 loc) · 2.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="css/main.css">
<link href="https://fonts.googleapis.com/css?family=Rubik&display=swap" rel="stylesheet">
<link href="https://use.fontawesome.com/releases/v5.0.1/css/all.css" rel="stylesheet">
<title>BMI Calculator</title>
</head>
<body>
<div id="app">
<h1>BMI Calculator</h1>
<div id="result">
<p id="resultValue">Let's go! <br> Calculate your BMI</p>
<div id="resultIcon">
<i id="iconCalc" class="fas fa-calculator"></i>
<i id="resultIconCheck" class="fas fa-check"></i>
<i id="resultIconExcl" class="fas fa-exclamation"></i>
</div>
</div>
<div id="gender" class="flex">
<div id="male" class="box selected">
<p>MALE</p>
<i id="maleIcon" class="fas fa-male colored"></i>
</div>
<div id="female" class="box">
<p>FEMALE</p>
<i id="femaleIcon" class="fas fa-female"></i>
</div>
</div>
<div id="age" class="box">
<p>AGE</p>
<div>
<p id="ageValue"></p>
<input type="range" min="16" max="90" class="slider" id="ageSlider" value="53">
</div>
</div>
<div id="weightAndHeight" class="flex">
<div id="weight" class="box flex">
<div>
<p>WEIGHT</p>
<p class="value" id="valueWeight"></p>
<div>
<button class="btn" id="minusWeight">-</button>
<button class="btn" id="plusWeight">+</button>
</div>
</div>
</div>
<div id="height" class="box flex">
<div>
<p>HEIGHT</p>
<p class="value" id="valueHeight"></p>
<div>
<button class="btn" id="minusHeight">-</button>
<button class="btn" id="plusHeight">+</button>
</div>
</div>
</div>
</div>
<div id="calculate">
<button id="calcBtn">CALCULATE</button>
</div>
</div>
<script src="js/app.js"></script>
</body>
</html>