-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbmi.html
More file actions
45 lines (36 loc) · 978 Bytes
/
bmi.html
File metadata and controls
45 lines (36 loc) · 978 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="css/bmi.css">
<title>BMI</title>
<style>
.error {
color:rgb(244, 0, 0);
font-size: 90%;
}
</style>
</head>
<body>
<form action="#" onsubmit="return humenbmi()">
<h1>BMI</h1>
<div class="row">
<input type="text" name="weghit" id="weghit" placeholder="weghit for kg">
<span class="error" id="weghitErr"></span>
</div>
<br><br>
<input type="text" name="heghit" id="heghit" placeholder="heghit for cm">
<span class="error" id="HeightError"></span>
<br><br>
<input type="submit" onclick="humenbmi()" name="submit" id="submit">
<br>
<p>Anser :
<div id="bmianser"></div>
</p>
<br>
<p>You are condisan :
<div id="anser"></div>
</p>
</form>
<script src="js/bmi.js"></script>
</body>
</html>