-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
35 lines (33 loc) · 1.28 KB
/
Copy pathindex.html
File metadata and controls
35 lines (33 loc) · 1.28 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>BMI</title>
<!--Google Font-->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@500;700&display=swap" rel="stylesheet">
<!--Stylesheet-->
<link rel="stylesheet" href="css/style.css">
</head>
<body class="body">
<div class="container">
<div class="row">
<input type="range" min="20" max="200" value="20" id="weight" >
<span id="weight-val">20 kg</span>
</div>
<div class="row">
<input type="range" min="100" max="250" value="100" id="height" >
<span id="height-val">100 cm</span>
</div>
<p id="result">20.0</p>
<p id="category">Normal weight</p>
</div>
<div class="p-container">
<span class="X">X</span>
<h2>What is the best why to lose weight</h2><p>
1. Limit sugar and sweets. Desserts have many calories and few nutrients.
2. Drink plenty of water. Aim for a minimum of 6-8 glasses (2 litres) of water each day.
3.Choose healthy snacks. Enjoy fresh fruit, vegetables, or low fat yogurt instead of packaged snacks.</p></div>
<!--Script-->
<script src="js/script.js"></script>
</body>
</html>