-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (52 loc) · 1.85 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<!-- preconnect -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<!-- meta -->
<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>
<!-- styles -->
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<!-- scripts -->
<script src="./js/script.js" defer type="module"></script>
</head>
<body>
<div class="alert-error">
Digite somente números
</div>
<div class="container">
<main class="card">
<form action="">
<h1 class="title"> Cálculo de IMC</h1>
<div class="input-wrapper">
<label for="weight">Peso (Kg)</label>
<input type="text" id="weight" placeholder="60" />
</div>
<div class="input-wrapper">
<label for="height">Altura (Cm)</label>
<input type="text" id="height" placeholder="165" />
</div>
<button type="submit">
Calcular IMC
<img src="./assets/arrow.svg" alt="seta apontando para a direita">
</button>
</form>
</main>
</div>
<div class="modal-wrapper">
<div class="modal card">
<h2 class="title">
<button class="close">
<img src="./assets/close.svg" alt="imagem para fechar o popup">
</button>
<span>Seu IMC é de 28</span>
</h2>
</div>
</div>
</body>
</html>