-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
123 lines (109 loc) · 4.21 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
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
111
112
113
114
115
116
117
118
119
120
121
122
123
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="stylesheet.css">
<link href="https://fonts.googleapis.com/css?family=Kaushan+Script|Ubuntu&display=swap" rel="stylesheet">
<title>Be Healthy - Home</title>
</head>
<body onload="startTime()">
<center><img id="logo" src="logo.png" alt=""></center>
<center><h1 id="Intro-text">Welcome to B ~ Healthy!</h1></CENTER>
<section class="SecondInfo">
<div>
<center>
<h2 id="head-text" class="header">Track your calorie consumption for each day. Maintain your health!</h2>
</center>
</div>
</section>
<section class="firstInfo">
<center>
<div class="form-drop" id="form1">
<form id="form0">
<div class="set">
<label>Name</label>
<input type="text" class="login input1" id="Name" required><br />
</div>
<div class="set">
<label>Age (Yrs)</label>
<input type="number" class="login input1" id="age" required><br />
</div>
<div class="set">
<label>Height (cm)</label>
<input type="number" class="login input1" id="height" required ><br />
</div>
<div class="set">
<label>Weight (Kg)</label>
<input type="number" class="login input1" id="Weight" required>
</div>
</div>
<div id="font1"><center>
Male<input type="radio" class="radio" id="male" name="Gender" value="Male">
Female<input type="radio" class="radio" id="female" name="Gender" value="Female">
</center>
</div>
<button id="but1" type="button" onclick="save()" class="btn" >Proceed</button>
</form>
</center>
</section>
<section id="detailObtained">
<center><div id="User-Image"></div></center>
<center>
<h3 id="wel-text"></h3>
<div>
<center>
<input id="targetCal" placeholder="Enter Target (in Kcal)" style="display:none"/>
</center>
<button id="but2" class="btn" type="button" onclick="DailyDiet()">Set Target & Proceed</button>
</div>
</center>
</section>
<center>
<div id="form2" class="form-drop1" class="header">
<h2 id="cal"></h2>
</div>
<div class="row">
<div class="column left" >
<div >
<form id="form3" class="form-drop1" class="header">
<div class="set">
<label>Food Name</label>
<input type="text" id="food" class="input1" placeholder="Food Name"><br />
</div>
<div class="set">
<label>Carbs (gms)</label>
<input type="number" id="carb" class="input1" placeholder="Carbs"><br />
</div>
<div class="set">
<label>Fat (gms)</label>
<input type="number" id="fat" class="input1" placeholder="Fat"><br />
</div>
<div class="set">
<label>Proteins (gms)</label>
<input type="number" id="protein" class="input1" placeholder="Proteins">
</div>
<button onclick="addintake()" id="bluebtn" class="btn" type="button">Add to Consumed</button>
</form>
</div>
</div>
<div class="column right" >
<center>
<ul id="list-food" class="form-drop2" style="list-style: none;">
<center>
<h2 id="cent-corr">Today's Food Intake</h2>
</center>
</ul>
</center>
</div>
</div>
<center>
<div id="clock">
<h2 id="water-drank"></h2>
</div>
</center>
<center>
<button onclick="logout()" id="redbtn" class="btn" type="button">Logout</button>
</center>
<script type="text/javascript" src="index.js"></script>
</body>
</html>