-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
85 lines (64 loc) · 2.67 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
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<title>Calculadora de IMC</title>
</head>
<body>
<main id="container">
<section id="img">
<img src="imagens/personal_trainer.svg" alt="Personal trainer">
</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" required>
<span>
Mts
</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://brasilescola.uol.com.br/saude">Mais Informações sobre o IMC
<i class="fa-solid fa-arrow-up-right-from-square"></i>
</a>
</div>
</div>
</section>
</main>
<script src="script.js"></script>
</body>
</html>