-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (30 loc) · 1.26 KB
/
Copy pathindex.html
File metadata and controls
50 lines (30 loc) · 1.26 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Calculadora de IMC</title>
<!-- ligação entre HTML e o CSS -->
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="principal">
<div id="conteudo">
<img src="img/logo.png" alt="Descrição da imagem">
<h1>Calcule seu IMC</h1>
<p>Preencha as informações abaixo para calcular</p>
<form autocomplete="off" onsubmit="executarIMC(event)">
<label for="peso">Digite seu peso</label><br>
<input type="number" step="0.1" id="peso" placeholder="Ex: 68.5" required><br>
<label for="altura">Digite sua altura</label><br>
<input type="number" step="0.01" id="altura" placeholder="Ex: 1.75" required><br>
<button type="submit">Calcular IMC</button>
</form>
<div id="resposta"></div>
<a href="https://wa.me/5521994182732">Precisa de ajuda? Fale conosco</a>
</div>
</div>
<!-- Ligação entre HTML e JS -->
<script src="js/script.js"></script>
</body>
</html>