-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
36 lines (35 loc) · 1.14 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
<!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>Calcule IMC</title>
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body id="body">
<p id="back" onclick="back(false)" class="ballon">Voltar</p>
<a id="download" class="ballon">Baixar</a>
<header>
<h1>Calcule IMC</h1>
<p>Índice de massa corporal</p>
</header>
<main>
<div class="calc">
<div class="form">
<input type="tel" id="altura" placeholder="Altura (Ex: 1.70)">
<input type="tel" id="peso" placeholder="Peso (Ex: 63.4)">
<p id="errors"></p>
<button onclick="CalcIMC()">Calcular</button>
</div>
</div>
<div class="result hidden">
<div id="imc-camp"></div>
<div id="class-camp"></div>
</div>
</main>
<!-- SCRIPTS -->
<script src="assets/js/html2canvas.js"></script>
<script src="assets/js/calcular-imc.js"></script>
</body>
</html>