generated from tripleten-com/se_project_coffeeshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
337 lines (336 loc) · 12.7 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
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
<!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" />
<meta name="description" content="This is the Practicum coffeeshop" />
<meta name="author" content="Martin Batista" />
<meta
name="keywords"
content="coffee, shop, coffee vending, coffee roasting, exotic coffee, snacks"
/>
<link rel="stylesheet" href="./pages/index.css" />
<link rel="icon" type="image/x-icon" href="favicon.ico" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Noto+Serif&display=swap"
rel="stylesheet"
/>
<title>Practicum Coffee Shop</title>
<!--corrected-->
</head>
<body>
<!-- START of wrapper class called: .page -->
<div class="page">
<header class="header">
<!-- img logo is independant of nav block -->
<img
src="./images/logo_coffee_shop.svg"
alt="Practicum Coffee Shop Logo"
class="logo"
/>
<nav class="nav">
<ul class="nav__links">
<!--checked/completed-->
<li>
<a class="nav__link" href="#menu">Menu </a>
</li>
<li>
<a class="nav__link" href="#recipes">Recipes </a>
</li>
<li>
<a class="nav__link" href="#book-a-table">Book a table </a>
</li>
<li>
<a class="nav__link" href="#footer">Contacts </a>
</li>
</ul>
</nav>
<!-- step 6. PLACE HEADER TITLE HERE class="header__title" use <h1></h1> -->
<h1 class="header__title">
<span class="header__span-accent">Specialty coffee</span>in the
Practicum Library
</h1>
<!-- step 8. class="header__description" <p></p> -->
<p class="header__description">
Welcome to our study zone! We've got the coffee to energize you and
the cozy vibes to help you get creative.
</p>
<img
src="./images/inside_coffee_shop.png"
alt="coffeeshop image"
class="header__image"
/>
<div class="header__paragraphs">
<div class="header__paragraphs-column">
<p class="header__paragraph">Hours:</p>
<p class="header__paragraph">Monday -Friday (10:00 - 19:00)</p>
<p class="header__paragraph">Saturday -Sunday (11:00 - 18:00)</p>
</div>
<p class="header__paragraph">
200 Success Avenue, The Town of Practicum
</p>
</div>
</header>
<main class="content">
<!-- no css styling added for class content (main) -->
<section class="menu" id="menu">
<h2 class="menu__title">Menu</h2>
<p class="menu__subtitle">
We brew coffee from locally roasted, Fairtrade certified beans and
use biodegradable cups. All teas from our collection are $2/cup.
</p>
<ul class="menu__cards">
<!--checked/completed-->
<li class="card">
<!--Make this a card block from this <li> tag point-->
<!--card block -->
<div class="card__content">
<h3 class="card__title">Filter</h3>
<ul class="card__list">
<li class="card__list-item">
Regular(12 oz)<span class="card__list-divider"></span>$1
</li>
<li class="card__list-item">
Large(16 oz)<span class="card__list-divider"></span>$1
</li>
<li class="card__list-item">
XL(20 oz)<span class="card__list-divider"></span>$1
</li>
<li class="card__list-item">
Party-size(24 oz,decaf)<span
class="card__list-divider"
></span
>$1
</li>
<li class="card__list-item">
Iced Coffee(16 oz)<span class="card__list-divider"></span>$1
</li>
</ul>
</div>
</li>
<li class="card">
<!--card block -->
<div class="card__content">
<h3 class="card__title">Espresso</h3>
<ul class="card__list">
<li class="card__list-item">
Macchiato<span class="card__list-divider"></span>$2.25
</li>
<li class="card__list-item">
Cortado<span class="card__list-divider"></span>$2.50
</li>
<li class="card__list-item">
Mocha<span class="card__list-divider"></span>$3
</li>
<li class="card__list-item">
Sunrise in the Bay Area(decaf)<span
class="card__list-divider"
></span
>$10
</li>
</ul>
</div>
</li>
<li class="card">
<!--card block -->
<div class="card__content">
<h3 class="card__title">Baked Goods</h3>
<ul class="card__list">
<li class="card__list-item">
Almond Croissant<span class="card__list-divider"></span>$2
</li>
<li class="card__list-item">
Banana Bread<span class="card__list-divider"></span>$1.75
</li>
<li class="card__list-item">
Key Lime Pie<span class="card__list-divider"></span>$3
</li>
<li class="card__list-item">
Blue Velvet Cake<span class="card__list-divider"></span
>$3.75
</li>
<li class="card__list-item">
Fresh Bug'uette<span class="card__list-divider"></span>$0.25
</li>
</ul>
</div>
</li>
</ul>
</section>
<section class="recipes" id="recipes">
<h2 class="recipes__title">Recipes</h2>
<p class="recipes__subtitle">
Check out some recipes we've collected for your home-brewing
convenience:
</p>
<div class="recipes__videos">
<!--iframes go in here -->
<div class="recipes__video">
<!--included iframe width & height in css styling -->
<!--checked/completed-->
<iframe
class="recipes__iframe"
src="https://www.youtube.com/embed/j6VlT_jUVPc"
title="YouTube video player"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
></iframe>
<p class="recipes__video-caption">
<span>Aeropress recipe</span><span>~5 min</span>
</p>
</div>
<div class="recipes__video">
<iframe
class="recipes__iframe"
src="https://www.youtube.com/embed/st571DYYTR8"
title="YouTube video player"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
></iframe>
<p class="recipes__video-caption">
<span>French press recipe</span><span>~15 min</span>
</p>
</div>
</div>
</section>
<section class="reservation" id="book-a-table">
<h2 class="reservation__title">Book a table</h2>
<form class="reservation__form form">
<!--checked/completed-->
<!--is a reusable block to reuse the form-->
<!--define the widths and margins in a mixer modifier class -->
<fieldset class="form__fieldset">
<!--ONE FIELDSET FOR ALL START-->
<label class="form__label" for="name">
Name *
<input
class="form__input"
type="text"
name="name"
id="name"
placeholder="Name Surname"
required
/>
</label>
<label class="form__label" for="number-of-guests">
Number of guests *
<input
class="form__input"
type="number"
name="number-of-guests"
id="number-of-guests"
placeholder="1-8"
min="1"
max="8"
required
/>
</label>
<label class="form__label" for="datetime-local">
Date & time *
<input
class="form__input"
type="datetime-local"
name="datetime-local"
id="datetime-local"
required
/>
</label>
<label class="form__label" for="email">
Your email *
<input
class="form__input"
type="email"
name="email"
id="email"
placeholder="email@email.com"
required
/>
</label>
<button class="form__button" name="Book-a-table">
Book a table
</button>
</fieldset>
<fieldset class="form__fieldset">
<label
class="form__label form__label_type_checkbox"
for="terms-of-use-checkbox"
>
<!--using key/value modifier for this input -->
<input
class="form__input form__input_type_checkbox"
type="checkbox"
name="checkbox"
id="terms-of-use-checkbox"
required
/>
I agree with the terms of use
</label>
</fieldset>
<!--ONE FIELDSET FOR ALL END-->
</form>
</section>
<section class="about" id="about">
<!-- Section 5. About the coffee shop -->
<h2 class="about__title">About the coffee shop</h2>
<div class="about__content">
<p class="about__paragraph">
Our coffee shop is located in the Practicum Library's hall. It
features 6 tables and free WiFi.
</p>
<p class="about__paragraph">
Our main mission is keeping guests cozy and energized.
</p>
<p class="about__paragraph">
Besides that, we try to reduce our environmental impact — so we
don't sell single-use cups. But you can buy one of our reusable
cups!
</p>
</div>
<div class="about__circle"></div>
<!--Using key/value modifier - checked modifier is used and named correctly -->
<div class="about__circle about__circle_animation_blurred"></div>
</section>
</main>
<footer class="footer" id="footer">
<div class="footer__content">
<img
class="footer__logo"
src="./images/practicum_logo.svg"
alt="Practicum"
/>
<div class="footer__social-media-column">
<!--divs display property default value is block (a column)-->
<h2 class="footer__social-heading">Social media</h2>
<ul class="footer__list">
<li class="footer__list-item">
<a class="footer__social-link" href="#">
<img
class="footer__social-icon"
src="./images/facebook_white.svg"
alt="Facebook Logo"
/>
Facebook
</a>
</li>
<li class="footer__list-item">
<a class="footer__social-link" href="#">
<img
class="footer__social-icon"
src="./images/instagram_white.svg"
alt="Instagram Logo"
/>
Instagram
</a>
</li>
</ul>
</div>
</div>
<p class="footer__copyright">© 2023 Martin Batista</p>
</footer>
</div>
<!-- END of wrapper class called: .page -->
</body>
</html>