-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·354 lines (349 loc) · 13.9 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
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Practicum Library</title>
<link rel="stylesheet" href="./styles/normalize.css" />
<!--/styles/normalize.css-->
<link rel="stylesheet" href="./styles/style.css" />
</head>
<body>
<div class="page">
<!-- Wrap the entire page content in a new div with the page class. Remember to add the closing tag -->
<header class="header">
<nav class="nav">
<img
src="./images/logo.png"
alt="Practicum Library Logo"
class="logo"
/>
<!-- Putting navigation links in a list is supposed to be the best practice of writing the semantic code since it allows screen readers to pause between each link instead of reading all the links as a sentence. -->
<ul class="nav__links">
<li>
<a href="#staff" class="nav__link">Staff picks</a>
</li>
<li>
<a href="#events" class="nav__link">Events</a>
</li>
<li>
<a href="#membership" class="nav__link">Become a member</a>
</li>
<li>
<a href="#about" class="nav__link">About</a>
</li>
<li>
<a href="#contact" class="nav__link">Contacts</a>
</li>
<!--<li>
<a href="#footer" class="nav__link">Footer</a>
</li> -->
</ul>
</nav>
<h1 class="header__title">Welcome to the Practicum Library</h1>
<p class="header__description">
We're pleased to open our library doors to everyone! Come and expand
your development knowledge, or just use this lovely spot to work or
study. This is a cool place for cool students!
</p>
<img
src="./images/inside_the_library.png"
alt="Illustration 'Inside the library'"
class="header__image"
/>
<div class="header__footer">
<a href="#about" class="header__link">About the library ↓</a>
<p class="header__address">
200 Success Avenue, The Town of Practicum
</p>
</div>
</header>
<main class="content">
<section id="staff" class="staff">
<h2 class="staff__title">Staff picks</h2>
<p class="staff__subtitle">That our readers love</p>
<!-- The ul tag (unordered list) is used here as it is a collection of cards for which the order doesn't really matter. -->
<ul class="staff__content-formatting">
<li class="card">
<div class="card__content">
<h3 class="card__title">Introduction to Algorithms</h3>
<p class="card__text">
The name of this book is self-explanatory; it's a proper
introduction to algorithms! Introduction to Algorithms, or
CLRS, in reference to the authors' last names, goes in-depth
and covers a range of algorithms across several self-contained
chapters.
</p>
<p class="card__footer">
Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest,
Clifford Stein
</p>
</div>
</li>
<li class="card">
<div class="card__content">
<h3 class="card__title">
The Structure and Interpretation of Computer Programs (SICP)
</h3>
<p class="card__text">
This is one of the best books for learning the fundamentals of
programming. Featured by MIT in one of their foundational
programming courses, SICP is a general-purpose programming
book that uses Scheme to illustrate various programming
concepts.
</p>
<p class="card__footer">
Harold Abelson, Gerald Jay Sussman, Julie Sussman
</p>
</div>
</li>
<li class="card">
<div class="card__content">
<h3 class="card__title">
The Clean Coder: A Code of Conduct for Professional
Programmers
</h3>
<p class="card__text">
Compiled by seasoned software engineer and author Robert C.
Martin (also known as Uncle Bob), this book covers the
techniques and tools of true software craftsmanship. It
explains how to write clean code and demonstrates how to
cultivate the attitude of a skilled, professional programmer.
</p>
<p class="card__footer">Steve McConnell</p>
</div>
</li>
<li class="card">
<div class="card__content">
<h3 class="card__title">
Code Complete: A Practical Handbook of Software Construction
</h3>
<p class="card__text">
Want to know how to write robust code irrespective of the
architecture behind your chosen programming language? Then
consider reading Code Complete: A Practical Handbook of
Software Construction. It comprehensively covers everything
related to good code structure.
</p>
<p class="card__footer">Steve McConnell</p>
</div>
</li>
</ul>
</section>
<section id="events" class="events">
<div class="events__content">
<h2 class="events__heading">Upcoming events:</h2>
<h3 class="events__title">
In honor of Joan Feynman: Women in astrophysics
</h3>
<div class="event-info events__info-section">
<div class="event-info__item">
<div class="event-info__icon event-info__icon_type_calendar">
<img
src="./images/icon_calendar.svg"
alt="icon calendar"
class="event-info__icon"
/>
</div>
<p class="event-info__text">Mon, January 12</p>
</div>
<div class="event-info__item">
<div class="event-info__icon event-info__icon_type_pin">
<img
src="./images/icon_pin.svg"
alt="icon pin"
class="event-info__icon"
/>
</div>
<p class="event-info__text">
Practicum Library Conference Hall & Online
</p>
</div>
</div>
<p class="events__description">
At this event, which celebrates the library's namesake, our guest
lecturer will take us on a journey exploring some of the most
prominent female researchers in the world of space science. It's
easy to buy into the misconception that this field was mostly
dominated by men, but our lecture aims to change that notion and
prove that this hasn't been the case since at least the 18th
century.
</p>
<a href="#" class="events__more">More events →</a>
</div>
<!-- Start creating the composition here -->
<div class="events__cover">
<img
class="events__image"
src="./images/cafe.png"
alt="Illustration of cafe"
/>
<div class="person person_name_feynman">
<p class="person__caption">Joan Feynman</p>
<img
class="person__image person__image_size_l"
src="./images/person_feynman.png"
alt="Joan Feynman"
/>
</div>
<div class="person person_name_burbidge">
<p class="person__caption">Margret Burbidge</p>
<img
class="pperson__image person__image_size_m"
src="./images/person_burbidge.png"
alt="Margret Burbidge"
/>
</div>
<div class="person person_name_tarter">
<p class="person__caption">Jill Tarter</p>
<img
class="person__image person__image_size_m"
src="./images/person_tarter.png"
alt="Jill Tarter"
/>
</div>
<div class="person person_name_mitchell">
<img
class="person__image person__image_size_s"
src="./images/person_mitchell.png"
alt="Maria Mitchell"
/>
<p class="person__caption">Maria Mitchell</p>
</div>
<div class="person person_name_cannon">
<img
class="person__image person__image_size_s"
src="./images/person_cannon.png"
alt="Anne Jump Cannon"
/>
<p class="person__caption">Anne Jump Cannon</p>
</div>
</div>
</section>
<section id="membership" class="membership">
<h2 class="membership__title">Becoming a library member is easy!</h2>
<ul class="membership__steps">
<li class="step">
<h3 class="step__title">
Step 1
<img
src="./images/icon_step_forward.svg"
alt="icon forward"
class="step__icon"
/>
</h3>
<p class="step__description">
Fill out the membership form online or in person.
</p>
</li>
<li class="step">
<h3 class="step__title">
Step 2
<img
src="./images/icon_step_forward.svg"
alt="icon forward"
class="step__icon"
/>
</h3>
<p class="step__description">
Come pick up your library card at the front desk.
</p>
</li>
<li class="step">
<h3 class="step__title">
Step 3
<img
src="./images/icon_step_forward.svg"
alt="icon forward"
class="step__icon"
/>
</h3>
<p class="step__description">Sign the back of the card.</p>
</li>
<li class="step">
<h3 class="step__title">
Step 4
<img
src="./images/icon_step_finish.svg"
alt="icon finish"
class="step__icon"
/>
</h3>
<p class="step__description">
Enjoy all the awesome benefits of membership!
</p>
</li>
</ul>
</section>
<section id="about" class="about">
<h2 class="about__title">About the library</h2>
<div class="about__content">
<p class="about__paragraph">
Libraries are essential establishments in practically every city,
and Practicum's library is no exception. It first opened its doors
way back in 2018, right as our humble town began bidding welcome
to its very first citizens!
</p>
<p class="about__paragraph">
Since its initial opening, the library has seen nearly 342
visitors each month. That's almost 50% of our population! So far,
most citizens have enjoyed reading books and making use of our
ample online resources.
</p>
<p class="about__paragraph">
The library gets its name from Joan Feynman, an American
astrophysicist and the first woman to be elected as an officer of
the American Geophysical Union.
</p>
</div>
<div class="about__circle"></div>
</section>
</main>
<footer class="footer" id="contact">
<div class="footer__columns">
<div class="footer__column">
<img
src="/images/logo_practicum.svg"
alt="logo-practicum"
class="footer__logo"
/>
</div>
<div class="footer__column footer__column_content_hours">
<h4 class="footer__column-heading">Hours</h4>
<ul class="footer__list">
<li class="footer__list-item">Weekdays: 9am - 8pm</li>
<li class="footer__list-item">Weekends: 10am - 6pm</li>
</ul>
</div>
<div class="footer__column footer__column_content_social">
<h4 class="footer__column-heading">social media</h4>
<ul class="footer__list">
<li class="footer__list-item">
<a href="#" class="footer__column-link">
<img
src="./images/facebook_white.svg"
alt="facebook-logo"
class="footer__social-icon"
/>
facebook
</a>
</li>
<li class="footer__list-item">
<a href="#" class="footer__column-link">
<img
src="./images/instagram_white.svg"
alt="instagram-logo"
class="footer__social-icon"
/>
instagram
</a>
</li>
</ul>
</div>
</div>
<!-- The time to mark up the footer has come, you can do it 💪 -->
<p class="footer__copyright">© 2022 Joshua Zimmerman</p>
</footer>
</div>
</body>
</html>