-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
77 lines (56 loc) · 2.55 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
<!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">
<title>Calculadora de IMC</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap" rel="stylesheet">
<script src="script.js" defer></script>
</head>
<body>
<div class="container">
<div id="calc-container">
<h2>Calculadora de IMC</h2>
<form id="imc-form">
<div class="form-inputs">
<div class="form-control">
<label for="height">Altura:</label>
<input type="text" name="height" id="height" placeholder="Exemplo 1,75"/>
</div>
<div class="form-control">
<label for="height">Peso:</label>
<input type="text" name="weight" id="weight" placeholder="Exemplo 70,5"/>
</div>
</div>
<div class="action-control">
<button id="calc-btn">Calcular</button>
<button id="clear-btn">Limpar</button>
</div>
</form>
</div>
<div id="result-container" class="hide">
<p id="imc-number">Seu IMC: <span></span></p>
<p id="imc-info">Situação atual: <span></span></p>
<h3>Confira as Classificações:</h3>
<div id="imc-table">
<div class="table-header">
<h4>IMC</h4>
<h4>Classificação</h4>
<h4>Obesidadde</h4>
</div>
</div>
<div class="action-control">
<button id="back-btn">Voltar</button>
<!--<button id="piramide-btn">
pirâmide
<img src="nutricao.png" alt="">
</button>-->
</div>
</div>
</div>
</body>
</html>