-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (70 loc) · 2.73 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
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="pt-br">
<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">
<link rel="stylesheet" href="assets/css/styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css" integrity="sha512-MV7K8+y+gLIBoVD59lQIYicR65iaqukzvf/nwasF0nqhPay5w/9lJmVM2hMDcnK1OnMGCdVK+iQrJ7lzPJQd1w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<title>Calculadora de IMC</title>
</head>
<body>
<main id="container">
<section id="img">
<img src="images/undraw_personal_trainer_re_cnua (1).svg">
</section>
<section id="calculator">
<form id="form">
<h1 id="title">
Calculadora - IMC
</h1>
<div class="input-box">
<label for="weight">
Peso em kg
</label>
<div class="input-field">
<i class="fa-solid fa-weight-hanging"></i>
<input type="number" id="weight" name="weight" required>
<span>
Kg
</span>
</div>
</div>
<div class="input-box">
<label for="height">
Altura em metros
</label>
<div class="input-field">
<i class="fa-solid fa-ruler"></i>
<input type="number" step="0.01" id="height" name="height" required>
<span>
m
</span>
</div>
</div>
<button id="calculate">
Calcular
</button>
</form>
<div id="infos" class="hidden">
<div id="result">
<div id="bmi">
<span id="value"></span>
<span>Seu IMC</span>
</div>
<div id="description">
<span></span>
</div>
</div>
<div id="more_info">
<a href="https://mundoeducacao.uol.com.br/saude-bem-estar/imc.htm">
Mais informações sobre o IMC
<i class="fa-solid fa-arrow-up-right-from-square"></i>
</a>
</div>
</div>
</section>
</main>
<script src="js/script.js"></script>
</body>
</html>