-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
175 lines (164 loc) · 5.46 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
<!DOCTYPE html>
<html lang="en">
<!-- Head -->
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Meals picker</title>
<!-- Stylesheet -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="greeting.css" />
<link rel="stylesheet" href="style.css" />
<link rel="shortcut icon" href="favicon-16x16.png" type="image/x-icon" />
<link rel="shortcut icon" href="favicon-32x32.png" type="image/x-icon" />
<link
rel="shortcut icon"
href="android-chrome-192x192.png"
type="image/x-icon"
/>
<link
rel="shortcut icon"
href="android-chrome-512x512.png"
type="image/x-icon"
/>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link rel="shortcut icon" href="apple-touch-icon.png" type="image/x-icon" />
<!-- Font awesome 6.0.0-->
<script
src="https://kit.fontawesome.com/92b9e9e786.js"
crossorigin="anonymous"
></script>
</head>
<!-- Body -->
<body onload="loadName()">
<!-- Header -->
<header>
<h1>
Meals Picker
</h1>
<h4>
<span class="orange">Weight Lose </span
><i class="fa-solid fa-weight-scale" style="color: #f9a03f"></i>
</h4>
</header>
<!-- Greeting -->
<div id="greeting">
<div id="nameInputContainer" class="nameInputContainer">
<label for="nameInput">Enter your name:</label>
<input type="text" id="nameInput" value="" />
<button type="button" class="btn-dark" onclick="saveName()">
Save Name
</button>
</div>
</div>
<!-- Motivational message -->
<div id="motivation-message">
<div class="card">
<div class="card-body">
<blockquote class="blockquote mb-0">
<div class="card-header">
Motivational Message
<i class="fa-solid fa-spa" style="color: #f9a03f"></i>
</div>
<p id="message">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer
posuere erat a ante.
</p>
<footer class="blockquote-footer">
by<i
class="fa-solid fa-feather-pointed"
style="color: #f9a03f"
></i>
<cite title="https://type.fit/api/quotes"
><p>Mohammed-qasim</p></cite
>
</footer>
</blockquote>
</div>
</div>
</div>
<!-- Meal's picker -->
<main>
<div class="container">
<h5 class="card-title">
Meals of the day
<i class="fa-solid fa-utensils"></i>
</h5>
<div class="row">
<div class="col-sm-12">
<div class="card">
<div class="card-body">
<h5 class="card-title">
Meal One
<i class="fa-solid fa-drumstick-bite"></i>
</h5>
<p class="card-text" id="meal1">
This is the description for meal one.
</p>
</div>
</div>
</div>
<div class="col-sm-12">
<div class="card">
<div class="card-body">
<h5 class="card-title">
Meal Two
<i class="fa-solid fa-fish"></i>
</h5>
<p class="card-text" id="meal2">
This is the description for meal two.
</p>
</div>
</div>
</div>
<div class="col-sm-12">
<div class="card">
<div class="card-body">
<h5 class="card-title">
Total Calories
<i class="fa-solid fa-fire-flame-curved"></i>
</h5>
<p class="card-text">
<span id="totalCalories"></span>
</p>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- Scroll to top -->
<a href="#" id="scrollTopButton" title="Scroll To Top">
<i class="fa-solid fa-angles-up" style="color: #f9a03f"></i>
</a>
<!-- Footer -->
<footer>
<p id="footerText"></p>
</footer>
<script
src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"
></script>
<script src="footer.js"></script>
<script src="script.js"></script>
<script src="greeting.js"></script>
<script src="dark.js"></script>
<script src="scrollToTop.js"></script>
</body>
</html>