-
Notifications
You must be signed in to change notification settings - Fork 1
/
bmi.html
42 lines (36 loc) · 1.51 KB
/
bmi.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1">
<title>LifeCulator</title>
<link rel="stylesheet" type="text/css" href="style/style.css" />
<link href='font/font.css' rel='stylesheet' type='text/css'/>
<!-- Inline scripts are forbidden in Firefox OS apps (CSP restrictions),
so we use a script file. -->
<script src="script/app.js" defer></script>
</head>
<body style="background:#fff;">
<header id="topbar-home" style="background:#2c3e50;">
<div id="name">BMI</div>
</header>
<div class="clr"></div>
<input id="btn-op" type="button" onClick="JavaScript:draw()" value="⡆"/>
<div id="drawer" style="transition:all 0.5s ease">
<a href="trip.html" id="road-trip">Road Trip</a>
<a href="electric.html" id="electricity">Electricity</a>
<a href="emi.html" id="emi">EMI</a>
<a href="bmi.html" id="bmi">BMI</a>
<a href="income.html" id="income">Income Tax</a>
<a href="about.html" id="credit">Credit</a>
</div>
<div id="content" onClick="JavaScript:drawback()">
<form name="form1" id="form1" onsubmit="event.preventDefault()">
<input type="text" placeholder="Widght (KG)" name="weight"/>
<input type="text" placeholder="Height (Meter)" name="height"/>
<input type="submit" value="Calculate" name="calc" onClick="JavaScript:bmi()"/>
</form>
<div id="result"></div>
</div>
</body>
</html>