-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalculators.html
110 lines (93 loc) · 4.21 KB
/
calculators.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html>
<html>
<head>
<title> Calculators </title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="author" content="Karina Kozarova">
<link rel="stylesheet" type="text/css" href="style/zoom.css">
<link rel="stylesheet" type="text/css" href="style/cool_button.css">
<link rel="stylesheet" type="text/css" href="style/calculators.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Bellefair" rel="stylesheet">
<link rel="stylesheet" href="style/navbar.css">
</head>
<body>
<div id="navbar">
<a href = ""> <div class="zoom" style = "font-size: 150%;">HealthCalcMe</div> </a>
<div style="float: right;">
<a href="./empty_page_with_navbar.html"> <div class="zoom">LANDING PAGE</div></a>
<a href="./shop.html"><div class="zoom">SHOP</div></a>
<a href="./calculators.html"><div class="zoom">CALCULATORS</div></a>
<a href = "./nutrition.html"><div class="zoom"> NUTRITION </div></a>
</div>
</div> <br>
<img src="resources/calc.png">
<div id = "calculator_div" >
<div id="inner">
<p> I am: </p>
<div class="sex">
<label>
<input type="radio" name="sex" id="sex_female" value="female">
Female
</label>
<label>
<input type="radio" name="sex" id="sex_male" value="male">
Male
</label>
</div>
<br>
<p id="text-box"> Age: </p>
<input type="num" id="age"> </input> <br> <br>
<p id="text-box"> Height: </p>
<input type="num" id="height"> </input> <br> <br>
<p id="text-box"> Weight: </p>
<input type="num" id="weight"> </input>
<br> <br>
<p> I train (per week): </p>
<div class="active-lvl">
<label>
<input type="radio" name="activity" id="rarely">
1-3 times
</label>
<label>
<input type="radio" name="activity" id="often">
3-5 times
</label> <br>
<label>
<input type="radio" name="activity" id="very-often">
6-7 times
</label>
<label>
<input type="radio" name="activity" id="everyday">
more than 7
</label>
</div>
<br>
<p> What to calculate: </p>
<div class="mode-choose">
<label>
<input type="radio" name="mode" id="BMI">
Calculate BMI
</label>
<label>
<input type="radio" name="mode" id="BMR">
Calculate BMR
</label> <br>
<label>
<input type="radio" name="mode" id="intake">
Calculate calorie intake
</label>
<label>
<input type="radio" name="mode" id="all">
Calculate all
</label>
<br> <br> <br>
</div>
</div>
</div>
<script src="./scripts/navbar.js"></script>
<a onclick="calculate();" class="cool_button fontier displayer" id = "calculator">Calculate now</a> <br> <br>
<script src = "scripts/calculations.js"> </script>
</body>
</html>