-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
32 lines (32 loc) · 1.38 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
<!DOCTYPE html>
<html lang="en">
<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">
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor" crossorigin="anonymous">
<link rel="stylesheet" href="index.css">
<title>BMI Calculator</title>
</head>
<body>
<h1>Body Mass Index Calculator</h1>
<p>Hello! This is a simple calculator to get your Body Mass Index.</p>
<div class="container">
<div class="item">
<form class="mb-3">
<label class="form-label" for="peso">Please Introduce Your Weight:</label>
<input class="form-control" id="peso" type="number" min="0" max="350" placeholder="Ex.: '80'" required step="any">
<br>
<label class="form-label" for="peso">Please Introduce Your Height:</label>
<input class="form-control" id="altura" type="number" min="0" max="2.5" placeholder="Ex.: 1,82" required step="any">
<button id="calcular" class="btn btn-primary">Calculate</button>
</form>
<hr>
<div id="resultado"> </div>
</div>
</div>
<script src="index.js"></script>
</body>
</html>