Skip to content

Commit ecf7581

Browse files
authored
Create index.html
1 parent 10dce23 commit ecf7581

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

index.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<html>
2+
<html lang="en" dir="ltr">
3+
<head>
4+
<meta charset="UTF-8"/>
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap"/>
8+
<title>BMI Calculator</title>
9+
<link rel="stylesheet" href="./style.css"/>
10+
<script src="./script.js" defer></script>
11+
</head>
12+
13+
<body>
14+
<div class="container">
15+
<h2>BMI Calculator</h2>
16+
17+
<p class="text">Height</p>
18+
<input type="text" id="h">
19+
20+
<p class="text">Weight</p>
21+
<input type="text" id="w">
22+
23+
<p id="result"></p>
24+
<button id="btn" onClick="BMI()">Calculate</button>
25+
<p id="info">Please enter your height[cm] and weight[kg] above.</p>
26+
</div>
27+
</body>
28+
</html>

0 commit comments

Comments
 (0)