-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (70 loc) · 2.49 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/style.css">
<title>Calculadora IMC</title>
</head>
<body>
<main id="container">
<section id="img">
<img src="assets/images/ilustration.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" 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">
<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#:~:text=O%20termo%20sa%C3%BAde%20se%20relaciona,estar%20f%C3%ADsico%2C%20mental%20e%20social.">
Mais informações sobre o IMC
<i class="fa-solid fa-up-right-from-square"></i>
</a>
</div>
</div>
</section>
</main>
<script src="assets/js/script.js"></script>
</body>
</html>