-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (55 loc) · 1.86 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>mCal | Laboratory</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div id="container">
<h1>mCal</h1>
<p>
Estimate your daily energy requirements (maintenance calories) in
seconds!
</p>
<form method="post">
<div class="in">
<label for="g">Gender</label>
<span><input type="radio" name="g" value="male" /> Male</span>
<span><input type="radio" name="g" value="female" /> Female</span>
</div>
<div class="in">
<label for="weight">Weight (in kg)</label>
<input type="text" id="weight" />
</div>
<div class="in">
<label for="height">Height (in cm)</label>
<input type="text" id="height" />
</div>
<div class="in">
<label for="age">Age</label>
<input type="text" id="age" />
</div>
<div class="in">
<label for="activity-level">Activity Level</label>
<select name="activity-level" id="activity-level" title="Hi">
<option value="">Select</option>
<option value="sedentary">Little/no workout</option>
<option value="lightly-active">Light workout 1–3 times/week</option>
<option value="moderately-active">
Moderate workout 3–5 times/week
</option>
<option value="very-active">Hard workout 6–7 times/week</option>
<option value="super-active">
Intense workout or 2x training/day
</option>
</select>
</div>
<button>Calculate!</button>
</form>
<div id="results"></div>
</div>
<script src="script.js"></script>
</body>
</html>