-
Notifications
You must be signed in to change notification settings - Fork 3
/
choose.html
271 lines (231 loc) · 10.3 KB
/
choose.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
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>chose </title>
<link rel="stylesheet" href=" choose_page.css" />
</head>
<body>
<!-- navbar start -->
<!-- type of website bar -->
<div id="upper">
<a href="index.html"><img id="first_img"
src="https://assets-global.website-files.com/5d03b4e130118314af624b20/5fc4feea074f5b86a6c62285_freshly-logo-R.svg" /></a>
<a ><img id="second_img" style="margin-left: 20px"
src="https://assets-global.website-files.com/5d03b4e130118314af624b20/5f7b2e54745410836cfa3955_bizlogo_main-07.svg" /></a>
</div>
<!-- ---------------------------------------------- -->
<div id="navbar">
<div id="nav_i">
<a href="index.html"><img id="nav_img"
src="https://assets-global.website-files.com/5d03b4e130118314af624b20/5fc4feea074f5b86a6c62285_freshly-logo-R.svg" /></a>
</div>
<div id="nav_a">
<div>
<a href="plans and menu.html">Plans & Menu</a>
</div>
<div>
<a href="how_it_works.html">How it Works</a>
</div>
<div><a href="Gifts.html">Gifts</a></div>
<div>
<a href="">Refer a Friend</a>
</div>
<div><a href="help.html">Help</a></div>
</div>
<div id="nav_log">
<div id="nav_log1">
<a href="login.html">Login</a>
</div>
<div id="nav_log2"><a href="signUp.html"><button>Sign Up</button></a></div>
</div>
</div>
<!-- nav bar ends -->
<div id="main">
<div>
<h1>Choose A Delivery Day</h1>
</div>
<div id="date_window">
<div></div>
<div id="window">
<div id="special">
<div id="fun">
<b>Sunday</b>, Feb 27
</div>
<div style="display:flex">
<i class="fa-thin fa-star-sharp"></i>
<p style="font-weight:bold; text-decoration:underline ;margin-top:-2px; font-size:14px">Most Popular</p>
</div>
</div>
<div>
<div id="fun1"><b>Monday</b>, Feb 28</div>
</div>
<div>
<div id="fun2"><b>Tuesday</b>, Mar 1</div>
</div>
<div>
<div id="fun3"><b>Wednesday</b>, Mar 2</div>
</div>
<div>
<div id="fun4"> <b>Thursday</b>, Mar 3</div>
</div>
<div>
<div id="fun5"><b>Friday</b>, Mar 4</div>
</div>
<div>
<div id="fun6"><b>Saturday</b>, Mar 5</div>
</div>
<div>
<div id="fun7"><b>Sunday</b>, Mar 6</div>
</div>
<div>
<div id="fun8"><b>Monday</b>, Mar 7</div>
</div>
<div>
<div id="fun9"><b>Tuesday</b>, Mar 8</div>
</div>
<div>
<div id="fun"><b>Wednesday</b>, Mar 9</div>
</div>
<div>
<div id="fun"><b>Thursday</b>, Mar 10</div>
</div>
<div>
<div id="fun"><b>Friday</b>, Mar 11</div>
</div>
<div>
<div id="fun"><b>Saturday</b>, Mar 12</div>
</div>
<div>
<div id="fun"><b>Sunday</b>, Mar 13</div>
</div>
</div>
<div id="below_text">Scroll for more delivery dates</div>
<div></div>
<div>
<a href="cart.html"><button>Next</button></a>
</div>
<div id="date"></div>
</div>
</div>
<!-- <footer start> -->
<footer id="footer">
<div>
<div>
<a href="index.html"><img src="https://assets-global.website-files.com/5d03b4e130118314af624b20/5fc4feea074f5b86a6c62285_freshly-logo-R.svg" width="120px"></a><br><br>
<p >© Freshly Inc.</p>
</div>
<div>
<p>Company</p><br>
<a href="https://freshly.wd5.myworkdayjobs.com/freshly_careers">Careers</a><br><br>
<a href="https://www.freshly.com/contact">Contact Us</a><br><br>
<a href="https://about.freshly.com/press">Press</a><br><br>
<a href="https://www.freshly.com/terms">Terms</a><br><br>
<a href="https://about.freshly.com/privacy">Privacy</a><br><br>
</div>
<div id="style">
<p>Learn more</p><br>
<a href="plans and menu.html">Plans & Menu</a><br><br>
<a href="how_it_works.html">Why Freshly?</a><br><br>
<a href="Gifts.html.html">Gifts</a><br><br>
<a href="#">FAQs</a><br><br>
<a href="#">Blog</a><br><br>
<a href="#">Students</a><br><br>
</div>
<div>
<p>Join Us </p><br>
<a href="https://www.facebook.com/freshly" ><img class="ok" src="https://assets-global.website-files.com/5d03b4e130118314af624b20/5f52423bbc67c09879c5a19b_5d795c37fedbb6017d824b02_icons8-facebook-old-30.jpg" width="16px">
</a>
<a href="https://www.instagram.com/freshly/" ><img class="ok" src="https://assets-global.website-files.com/5d03b4e130118314af624b20/5f52423ad92101de48f410c7_5d10dfc0ef515f74b875a42c_icons8-instagram-50.jpg" width="16px"></a>
<a href="https://twitter.com/getfreshly" ><img class="ok" src="https://assets-global.website-files.com/5d03b4e130118314af624b20/5f52423bd050163202b341e8_5d10dfc00442bfc99d3d6828_icons8-twitter-filled-50.jpg" width="16px"></a>
<a href="https://www.pinterest.com/FreshlyEats/" ><img class="ok" src="https://assets-global.website-files.com/5d03b4e130118314af624b20/5f52423a6b26e039d505425e_5d10dfbfef515faad975a42b_icons8-pinterest-filled-50.jpg" width="16px"></a>
<br><br>
<a href="https://apps.apple.com/app/apple-store/id1195648107"><img src="https://assets-global.website-files.com/5d03b4e130118314af624b20/5d6439d4fb92e7630e46976b_Download_on_the_App_Store_Badge_US-UK_RGB_blk_092917.svg" width="120px"></a><br><br>
<a href="https://play.google.com/store/apps/details?id=com.freshly.meal&utm_source=website&utm_campaign=footer&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1"><img src="https://assets-global.website-files.com/5d03b4e130118314af624b20/5d643dd558306bfe1df5ef8b_google-play-badge.png" width="120px"></a><br><br>
</div>
</div>
</footer>
<!-- <footer last> -->
</body>
</html>
<script>
var dat = document.querySelector("#fun");
dat.addEventListener("click", function () {
selected()
});
function selected() {
document.querySelector("#date").innerText = "First Delivery Date:" + dat.innerText;
localStorage.setItem("Date",JSON.stringify(dat.innerText));
}
var dat1 = document.querySelector("#fun1");
dat1.addEventListener("click", function () {
selected1()
});
function selected1(){
document.querySelector("#date").innerText = "First Delivery Date:" + dat1.innerText;
localStorage.setItem("Date",JSON.stringify(dat1.innerText));
}
var dat2 = document.querySelector("#fun2");
dat2.addEventListener("click", function () {
selected2()
});
function selected2(){
document.querySelector("#date").innerText = "First Delivery Date:" + dat2.innerText;
localStorage.setItem("Date",JSON.stringify(dat2.innerText));
}
var dat3 = document.querySelector("#fun3");
dat3.addEventListener("click", function () {
selected3()
});
function selected3(){
document.querySelector("#date").innerText = "First Delivery Date:" + dat3.innerText;
localStorage.setItem("Date",JSON.stringify(dat3.innerText));
}
var dat4 = document.querySelector("#fun4");
dat4.addEventListener("click", function () {
selected4()
});
function selected4(){
document.querySelector("#date").innerText = "First Delivery Date:" + dat4.innerText;
localStorage.setItem("Date",JSON.stringify(dat4.innerText));
}
var dat5 = document.querySelector("#fun5");
dat5.addEventListener("click", function () {
selected5()
});
function selected5(){
document.querySelector("#date").innerText = "First Delivery Date:" + dat5.innerText;
localStorage.setItem("Date",JSON.stringify(dat5.innerText));
}
var dat6 = document.querySelector("#fun6");
dat6.addEventListener("click", function () {
selected6()
});
function selected6(){
document.querySelector("#date").innerText = "First Delivery Date:" + dat6.innerText;
localStorage.setItem("Date",JSON.stringify(dat6.innerText));
}
var dat7 = document.querySelector("#fun7");
dat7.addEventListener("click", function () {
selected7()
});
function selected7(){
document.querySelector("#date").innerText = "First Delivery Date:" + dat7.innerText;
localStorage.setItem("Date",JSON.stringify(dat7.innerText));
}
// var dat2=document.querySelector("#fun2");
// dat.addEventListener("click",function(){
// document.querySelector("#date").innerText="First Delivery Date:"+dat2.innerText;
// })
// var dat3=document.querySelector("#fun3");
// dat.addEventListener("click",function(){
// document.querySelector("#date").innerText="First Delivery Date:"+dat3.innerText;
// })
if(document.querySelector("#date").innerText!=undefined)
{
var anchor=document.querySelector("a");
anchor.href="cart.html";
}
</script>