-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
263 lines (247 loc) · 11.1 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
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
<!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">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="Slide-style.css">
<title>SpicyFoods | Home</title>
</head>
<body>
<header>
<nav id="home" class="navigation">
<a href="index.html" class="nav logo">SPICY FOODS</a>
<!-- <div class="search-bar-div">
<div class="search-bar"></div>
</div> -->
<a class="burger" onclick="response()"><img src="images/bars-solid.svg" alt="burger bars" role="responsive navigation button"></a>
<!-- <a href="index.html" class="nav theme" id="theme-switch" onclick="switchTheme()">Light Mode</a> -->
<a href="#" class="nav active">Home</a>
<a href="#" class="nav">Menu</a>
<a href="#" class="nav">Contact Us</a>
<a href="#" class="nav">Login</a>
<a href="#" class="nav">FAQ</a>
</nav>
</header>
<main>
<div class="cart">
<img src="images/shopping cart 2.svg" alt="">
</div>
<div class="landing">
<div class="landing-pic">
</div>
<div class="landing-title-bar">
<h1>SPICY FOODS</h1>
<h6>Every spicy craving, delivered at your door step</h6>
</div>
</div>
</main>
<section class="special-section">
<h1>Specials</h1>
<div class="back">
<div class="arr1 arrow" id="arrow1">
<img src="images/arrow-right.svg" alt="" >
</div>
<div class="slider-back">
<div class="slider-div">
<div class="food" id="foo" style="background-image: url(images/pexels-photo-6210933.jpeg);">
<div class="food-name" >
<p class="name">Lorem Ipsum 1</p>
<div class="add">
<img src="images/plus.svg" alt="add">
</div>
</div>
</div>
<div class="food" id="foo" style="background-image: url(images/pexels-photo-6210933.jpeg);">
<div class="food-name" >
<p class="name">Lorem Ipsum 2</p>
<div class="add">
<img src="images/plus.svg" alt="add">
</div>
</div>
</div>
<div class="food" id="foo" style="background-image: url(images/pexels-photo-6210933.jpeg);">
<div class="food-name" >
<p class="name">Lorem Ipsum 3</p>
<div class="add">
<img src="images/plus.svg" alt="add">
</div>
</div>
</div>
<div class="food" id="foo" style="background-image: url(images/pexels-photo-6210933.jpeg);">
<div class="food-name" >
<p class="name">Lorem Ipsum 4</p>
<div class="add">
<img src="images/plus.svg" alt="add">
</div>
</div>
</div>
<div class="food" id="foo" style="background-image: url(images/pexels-photo-6210933.jpeg);">
<div class="food-name" >
<p class="name">Lorem Ipsum 5</p>
<div class="add">
<img src="images/plus.svg" alt="add">
</div>
</div>
</div>
<div class="food" id="foo" style="background-image: url(images/pexels-photo-6210933.jpeg);">
<div class="food-name" >
<p class="name">Lorem Ipsum 6</p>
<div class="add">
<img src="images/plus.svg" alt="add">
</div>
</div>
</div>
</div>
</div>
<div class="arr2 arrow" id="arrow2">
<img src="images/arrow-left.svg" alt="" >
</div>
</div>
</section>
<!--Promo Section-->
<section class="promo-section">
<h1>Promos</h1>
<div class="promo">
<div class="slider">
<div class="slides">
<!--Radio Buttons Start-->
<input type="radio" name="radio-btn" id="radio1">
<input type="radio" name="radio-btn" id="radio2">
<input type="radio" name="radio-btn" id="radio3">
<input type="radio" name="radio-btn" id="radio4">
<!--Radio Buttons End-->
<!--Image Slider Starts-->
<div class="slide first">
<img src="images/promo1.jpg" alt="">
</div>
<div class="slide">
<img src="images/promo2.jpg" alt="">
</div>
<div class="slide">
<img src="images/promo3.jpg" alt="">
</div>
<div class="slide">
<img src="images/promo4.jpg" alt="">
</div>
<!--Image Slider Ends-->
<!--Automatic Navigation Starts-->
<div class="auto-navigation">
<div class="auto-btn1"></div>
<div class="auto-btn2"></div>
<div class="auto-btn3"></div>
<div class="auto-btn4"></div>
</div>
<!--Automatic Navigation Ends-->
</div>
<!--Manual Navigation Starts-->
<div class="manual-navigation">
<label for="radio1" class="manual-btn"></label>
<label for="radio2" class="manual-btn"></label>
<label for="radio3" class="manual-btn"></label>
<label for="radio4" class="manual-btn"></label>
</div>
<!--Manual Navigation Ends-->
</div>
</div>
</section>
<!--Review and footer html script-->
<div class="container">
<div class = "review_container">
<div class="review_bar" >
<h1>Reviews</h1>
<div class="review_row">
<div class="review_col">
<h4>Brian Nee</h4>
<p>Quick Delivery, fantastic food, exceptional website. Nothing but praise!!!</p>
</div>
<div class="review_col">
<h4>Salami Tomiwa</h4>
<p>Quality menus, delicious delicacies, Great entertainment, fantastic website!</p>
</div>
<div class="review_col">
<h4>Okeh Anthony</h4>
<p>Phenomenal meal, thoroughly enjoyed myself. Great delivery too. Keep it up!</p>
</div>
<div class="review_col">
<h4>Oyewole Kiishi</h4>
<p>Great food, Awesome service!!</p>
</div>
<div class="review_col">
<h4>Ogamba Chiazam</h4>
<p>Great food and the drink option included is a life saver. Keep up the good work!!</p>
</div>
<div class="review_col">
<h4>Usanga Chinaza</h4>
<p>Nice website!!</p>
</div>
<div class="review_col">
<h4>John Doe</h4>
<p>This website was really shit. Do better knobb heads!!</p>
</div>
</div>
</div>
<!-- footer part -->
<footer class ="footer">
<!-- <img src="images/pexels-momo-king-5409022.jpg" alt="Foodplate picture"> -->
<div class= "row">
<div class="footer-bar footer-1">
<h4>SPICY VILLA</h4>
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit. Veritatis autem sint eaque cum.
Iusto, nostrum deserunt enim corrupti harum vitae consequuntur.
Deleniti sunt molestiae aspernatur in ut voluptas cupiditate placeat?</p>
</div>
<div class="footer-bar footer-2">
<h4>Useful Links</h4>
<ul type= none >
<li><a href="#">Home</a></li>
<li><a href="#">Menu</a></li>
<li><a href="#">Cart</a></li>
<li><a href="#">FAQ</a></li>
</ul>
</div>
<div class="footer-bar footer-3" >
<h4>Our Services</h4>
<p>Lorem ipsum, dolor sit amet consectetur adipisicing elit.
Aliquid architecto dolorum hic, accusamus numquam alias distinctio dignissimos,
porro ipsum reiciendis repellat iste quisquam dolor perspiciatis.
Cumque amet sequi ad ullam.</p>
</div>
<div class="footer-bar footer-4">
<h4>Social Networks</h4>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Recusandae ullam ducimus eaque?
Itaque obcaecati vel quibusdam temporibus porro?
Quisquam aspernatur rem accusamus neque iure alias ducimus vel amet? Harum, natus.</p>
<div class="Social-links" >
<a href="mailto:[email protected]" target="_blank"><img src="images/mail.svg" alt="mail"></a>
<a href="https://twitter.com/?lang=en" target="_blank"><img src="images/twitter.svg" alt="twitter"></img></a>
<a href="https://www.instagram.com/" target="_blank"><img src="images/instagram.svg" alt="instagram"></img></a>
</div>
</div>
</div>
</div>
</footer>
</div>
<script>
var sliderdiv = document.getElementById("slider-div");
var item = sliderdiv.children;
var up = document.getElementsById('arrow1');
var down = document.getElementsById('arrow2');
// function buttondown(){
// sliderdiv.append(item[0]);
// }
// function buttonUp(){
// sliderdiv.prepend(item[item.length - 1]);
// }
up.addEventListener("click", ()=>{
sliderdiv.append(item[0]);
})
down.addEventListener("click", ()=>{
sliderdiv.prepend(item[item.length - 1]);
})
</script>
<script src="script.js"></script>
<!-- <script src="Slide-js.js"></script> -->
</body>
</html>