generated from 4GeeksAcademy/html-hello
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
416 lines (411 loc) · 26.4 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
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Instagram</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.1/font/bootstrap-icons.css">
<link rel="shortcut icon" href="images/icons/Instagram-Icon.png" type="image/x-icon">
<link rel="stylesheet" href="styles/style.css">
</head>
<body>
<nav class="navbar bg-body-tertiary">
<div class="container-fluid d-flex flex-row justify-content-between">
<div class="ms-5 mt-2 mb-2">
<a class="navbar-brand d-flex align-items-center" href="">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor"
class="bi bi-instagram" viewBox="0 0 16 16">
<path
d="M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.917 3.917 0 0 0-1.417.923A3.927 3.927 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.916 3.916 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.926 3.926 0 0 0-.923-1.417A3.911 3.911 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0h.003zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599.28.28.453.546.598.92.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.47 2.47 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.478 2.478 0 0 1-.92-.598 2.48 2.48 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233 0-2.136.008-2.388.046-3.231.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92.28-.28.546-.453.92-.598.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045v.002zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92zm-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217zm0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334z" />
</svg>
<span class="ms-2 fw-semibold">Instagram</span>
</a>
</div>
<div class="me-4 mt-2 mb-2">
<!-- Button trigger modal -->
<button type="button" class="btn btn-success me-4" data-bs-toggle="modal"
data-bs-target="#staticBackdrop">
Create a new post
</button>
<!-- Modal -->
<div class="modal fade" id="staticBackdrop" data-bs-backdrop="static" data-bs-keyboard="false"
tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="staticBackdropLabel">Create a new post</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal"
aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="mb-3">
<label for="exampleFormControlTextarea1"
class="form-label fw-semibold">Caption:</label>
<textarea class="form-control" id="exampleFormControlTextarea1" rows="2"
placeholder="Add the caption of your post here"></textarea>
</div>
<button type="button" class="btn btn-light">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
class="bi bi-camera-fill" viewBox="0 0 16 16">
<path d="M10.5 8.5a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0z" />
<path
d="M2 4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-1.172a2 2 0 0 1-1.414-.586l-.828-.828A2 2 0 0 0 9.172 2H6.828a2 2 0 0 0-1.414.586l-.828.828A2 2 0 0 1 3.172 4H2zm.5 2a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm9 2.5a3.5 3.5 0 1 1-7 0 3.5 3.5 0 0 1 7 0z" />
</svg>
</button>
<button type="button" class="btn btn-light">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
class="bi bi-geo-alt-fill" viewBox="0 0 16 16">
<path
d="M8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10zm0-7a3 3 0 1 1 0-6 3 3 0 0 1 0 6z" />
</svg>
</button>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-success">Publish</button>
</div>
</div>
</div>
</div>
<div class="btn-group">
<button type="button" class="btn btn-secondary dropdown-toggle me-5" data-bs-toggle="dropdown"
aria-expanded="false">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
class="bi bi-gear-fill" viewBox="0 0 16 16">
<path
d="M9.405 1.05c-.413-1.4-2.397-1.4-2.81 0l-.1.34a1.464 1.464 0 0 1-2.105.872l-.31-.17c-1.283-.698-2.686.705-1.987 1.987l.169.311c.446.82.023 1.841-.872 2.105l-.34.1c-1.4.413-1.4 2.397 0 2.81l.34.1a1.464 1.464 0 0 1 .872 2.105l-.17.31c-.698 1.283.705 2.686 1.987 1.987l.311-.169a1.464 1.464 0 0 1 2.105.872l.1.34c.413 1.4 2.397 1.4 2.81 0l.1-.34a1.464 1.464 0 0 1 2.105-.872l.31.17c1.283.698 2.686-.705 1.987-1.987l-.169-.311a1.464 1.464 0 0 1 .872-2.105l.34-.1c1.4-.413 1.4-2.397 0-2.81l-.34-.1a1.464 1.464 0 0 1-.872-2.105l.17-.31c.698-1.283-.705-2.686-1.987-1.987l-.311.169a1.464 1.464 0 0 1-2.105-.872l-.1-.34zM8 10.93a2.929 2.929 0 1 1 0-5.86 2.929 2.929 0 0 1 0 5.858z" />
</svg>
</button>
<ul class="dropdown-menu dropdown-menu-sm-end me-5">
<li><button class="dropdown-item" type="button">Profile</button></li>
<li><button class="dropdown-item" type="button">Accessibility</button></li>
<li><button class="dropdown-item" type="button">Privacy and Data</button></li>
<li>
<hr class="dropdown-divider">
</li>
<li><button class="dropdown-item link-danger" type="button">Log out</button></li>
</ul>
</div>
</div>
</div>
</nav>
<main class="mt-2">
<ul class="nav nav-tabs d-flex justify-content-center" id="myTab" role="tablist">
<li class="nav-item" role="presentation">
<button class="nav-link active" id="grid-tab" data-bs-toggle="tab" data-bs-target="#grid-tab-pane"
type="button" role="tab" aria-controls="grid-tab-pane" aria-selected="true"
onclick="changeColor(this.id)">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
class="bi bi-grid-3x3" viewBox="0 0 16 16">
<path
d="M0 1.5A1.5 1.5 0 0 1 1.5 0h13A1.5 1.5 0 0 1 16 1.5v13a1.5 1.5 0 0 1-1.5 1.5h-13A1.5 1.5 0 0 1 0 14.5v-13zM1.5 1a.5.5 0 0 0-.5.5V5h4V1H1.5zM5 6H1v4h4V6zm1 4h4V6H6v4zm-1 1H1v3.5a.5.5 0 0 0 .5.5H5v-4zm1 0v4h4v-4H6zm5 0v4h3.5a.5.5 0 0 0 .5-.5V11h-4zm0-1h4V6h-4v4zm0-5h4V1.5a.5.5 0 0 0-.5-.5H11v4zm-1 0V1H6v4h4z" />
</svg>
</button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="square-tab" data-bs-toggle="tab" data-bs-target="#square-tab-pane"
type="button" role="tab" aria-controls="square-tab-pane" aria-selected="false"
onclick="changeColor(this.id)">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor"
class="bi bi-square-fill" viewBox="0 0 16 16">
<path d="M0 2a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2z" />
</svg>
</button>
</li>
</ul>
<div class="tab-content m-2" id="myTabContent">
<div class="tab-pane fade show active" id="grid-tab-pane" role="tabpanel" aria-labelledby="grid-tab"
tabindex="0">
<div class="row row-cols-3 g-2">
<div class="col">
<div class="card">
<img src="images/ai-image-generator.webp" class="img-fluid"
alt="Image of robot painting a woman robot">
</div>
</div>
<div class="col">
<div class="card">
<img src="images/artificial-intelligence-2167835_640.jpg" class="img-fluid"
alt="Image of the AI hidden in the code">
</div>
</div>
<div class="col">
<div class="card">
<img src="images/beautiful-seaside-landscape_23-2150423928.avif" class="img-fluid"
alt="Image of a beautiful seaside landscape">
</div>
</div>
<div class="col">
<div class="card">
<img src="images/breathtaking-shot-colosseum-amphitheatre-located-rome-italy_181624-41196.avif"
class="img-fluid" alt="Image of the Colosseum located in Rome, Italy">
</div>
</div>
<div class="col">
<div class="card">
<img src="images/isolated-happy-smiling-dog-white-background-portrait-4_1562-693.avif"
class="img-fluid" alt="Image of a happy smiling dog">
</div>
</div>
<div class="col">
<div class="card">
<img src="images/medium-shot-happy-friends-city_23-2149003088.avif" class="img-fluid"
alt="Image of happy friends">
</div>
</div>
<div class="col">
<div class="card">
<img src="images/modern-monitor-elegant-table_23-2150706449.avif" class="img-fluid"
alt="Image of a modern desk setup">
</div>
</div>
<div class="col">
<div class="card">
<img src="images/pexels-helena-lopes-2253275.jpg" class="img-fluid"
alt="Image of a happy smiling dog">
</div>
</div>
<div class="col">
<div class="card">
<img src="images/pexels-julius-silver-753639.jpg" class="img-fluid"
alt="Image of the splendid landscape of Rome">
</div>
</div>
<div class="col">
<div class="card">
<img src="images/photo-1518770660439-4636190af475.avif" class="img-fluid"
alt="Image of circuit boards">
</div>
</div>
<div class="col">
<div class="card">
<img src="images/premium_photo-1661911756283-fd0fbefee201.avif" class="img-fluid"
alt="Image of an ancient Greek monument">
</div>
</div>
<div class="col">
<div class="card">
<img src="images/ultra-detailed-nebula-abstract-wallpaper-4_1562-749.avif" class="img-fluid"
alt="Image of an ultra detailed nebula">
</div>
</div>
</div>
</div>
<div class="tab-pane fade" id="square-tab-pane" role="tabpanel" aria-labelledby="square-tab" tabindex="0">
<div class="row row-cols-1 g-2">
<div class="col">
<div class="card mx-auto" style="width: 36rem;">
<div class="card-body px-0 py-2">
<div class="d-flex justify-content-between">
<h5 class="card-title ps-2">The Painter</h5>
<h6 class="card-subtitle text-body-secondary pe-2"><small>11/03</small></h6>
</div>
<img src="images/ai-image-generator.webp" class="img-fluid"
alt="Image of robot painting a woman robot">
<p class="card-text p-2">
<span class="fw-bold">2476 Likes</span>
<br>
Image of robot painting a woman robot
</p>
</div>
</div>
</div>
<div class="col">
<div class="card mx-auto" style="width: 36rem;">
<div class="card-body px-0 py-2">
<div class="d-flex justify-content-between">
<h5 class="card-title ps-2">The dark side of AI</h5>
<h6 class="card-subtitle text-body-secondary pe-2"><small>11/01</small></h6>
</div>
<img src="images/artificial-intelligence-2167835_640.jpg" class="img-fluid"
alt="Image of the AI hidden in the code">
<p class="card-text p-2">
<span class="fw-bold">6369 Likes</span>
<br>
Image of the AI hidden in the code
</p>
</div>
</div>
</div>
<div class="col">
<div class="card mx-auto" style="width: 36rem;">
<div class="card-body px-0 py-2">
<div class="d-flex justify-content-between">
<h5 class="card-title ps-2">The perfect holiday</h5>
<h6 class="card-subtitle text-body-secondary pe-2"><small>10/23</small></h6>
</div>
<img src="images/beautiful-seaside-landscape_23-2150423928.avif" class="img-fluid"
alt="Image of a beautiful seaside landscape">
<p class="card-text p-2">
<span class="fw-bold">4193 Likes</span>
<br>
Image of a beautiful seaside landscape
</p>
</div>
</div>
</div>
<div class="col">
<div class="card mx-auto" style="width: 36rem;">
<div class="card-body px-0 py-2">
<div class="d-flex justify-content-between">
<h5 class="card-title ps-2">The greatness of Rome</h5>
<h6 class="card-subtitle text-body-secondary pe-2"><small>10/12</small></h6>
</div>
<img src="images/breathtaking-shot-colosseum-amphitheatre-located-rome-italy_181624-41196.avif"
class="img-fluid" alt="Image of the Colosseum located in Rome, Italy">
<p class="card-text p-2">
<span class="fw-bold">4540 Likes</span>
<br>
Image of the Colosseum located in Rome, Italy
</p>
</div>
</div>
</div>
<div class="col">
<div class="card mx-auto" style="width: 36rem;">
<div class="card-body px-0 py-2">
<div class="d-flex justify-content-between">
<h5 class="card-title ps-2">My smiling dog</h5>
<h6 class="card-subtitle text-body-secondary pe-2"><small>09/27</small></h6>
</div>
<img src="images/isolated-happy-smiling-dog-white-background-portrait-4_1562-693.avif"
class="img-fluid" alt="Image of a happy smiling dog">
<p class="card-text p-2">
<span class="fw-bold">1353 Likes</span>
<br>
Image of my smiling dog
</p>
</div>
</div>
</div>
<div class="col">
<div class="card mx-auto" style="width: 36rem;">
<div class="card-body px-0 py-2">
<div class="d-flex justify-content-between">
<h5 class="card-title ps-2">My dear friends</h5>
<h6 class="card-subtitle text-body-secondary pe-2"><small>09/14</small></h6>
</div>
<img src="images/medium-shot-happy-friends-city_23-2149003088.avif" class="img-fluid"
alt="Image of happy friends">
<p class="card-text p-2">
<span class="fw-bold">1901 Likes</span>
<br>
Image of my friends
</p>
</div>
</div>
</div>
<div class="col">
<div class="card mx-auto" style="width: 36rem;">
<div class="card-body px-0 py-2">
<div class="d-flex justify-content-between">
<h5 class="card-title ps-2">The best desk setup</h5>
<h6 class="card-subtitle text-body-secondary pe-2"><small>09/01</small></h6>
</div>
<img src="images/modern-monitor-elegant-table_23-2150706449.avif" class="img-fluid"
alt="Image of a modern desk setup">
<p class="card-text p-2">
<span class="fw-bold">9449 Likes</span>
<br>
Image of my modern desk setup
</p>
</div>
</div>
</div>
<div class="col">
<div class="card mx-auto" style="width: 36rem;">
<div class="card-body px-0 py-2">
<div class="d-flex justify-content-between">
<h5 class="card-title ps-2">Come on, let's go out!!!</h5>
<h6 class="card-subtitle text-body-secondary pe-2"><small>08/29</small></h6>
</div>
<img src="images/pexels-helena-lopes-2253275.jpg" class="img-fluid"
alt="Image of a happy smiling dog">
<p class="card-text p-2">
<span class="fw-bold">2153 Likes</span>
<br>
Image of my happy dog
</p>
</div>
</div>
</div>
<div class="col">
<div class="card mx-auto" style="width: 36rem;">
<div class="card-body px-0 py-2">
<div class="d-flex justify-content-between">
<h5 class="card-title ps-2">Rome at night</h5>
<h6 class="card-subtitle text-body-secondary pe-2"><small>08/04</small></h6>
</div>
<img src="images/pexels-julius-silver-753639.jpg" class="img-fluid"
alt="Image of the splendid landscape of Rome">
<p class="card-text p-2">
<span class="fw-bold">1397 Likes</span>
<br>
Image of the splendid landscape of Rome
</p>
</div>
</div>
</div>
<div class="col">
<div class="card mx-auto" style="width: 36rem;">
<div class="card-body px-0 py-2">
<div class="d-flex justify-content-between">
<h5 class="card-title ps-2">My new motherboard</h5>
<h6 class="card-subtitle text-body-secondary pe-2"><small>07/29</small></h6>
</div>
<img src="images/photo-1518770660439-4636190af475.avif" class="img-fluid"
alt="Image of circuit boards">
<p class="card-text p-2">
<span class="fw-bold">1635 Likes</span>
<br>
Image of my new motherboard
</p>
</div>
</div>
</div>
<div class="col">
<div class="card mx-auto" style="width: 36rem;">
<div class="card-body px-0 py-2">
<div class="d-flex justify-content-between">
<h5 class="card-title ps-2">Ancient Greece: The Cradle of Western Civilization</h5>
<h6 class="card-subtitle text-body-secondary pe-2"><small>07/19</small></h6>
</div>
<img src="images/premium_photo-1661911756283-fd0fbefee201.avif" class="img-fluid"
alt="Image of an ancient Greek monument">
<p class="card-text p-2">
<span class="fw-bold">9017 Likes</span>
<br>
Image of an ancient Greek monument
</p>
</div>
</div>
</div>
<div class="col">
<div class="card mx-auto" style="width: 36rem;">
<div class="card-body px-0 py-2">
<div class="d-flex justify-content-between">
<h5 class="card-title ps-2">The mysteries of the Universe</h5>
<h6 class="card-subtitle text-body-secondary pe-2"><small>07/05</small></h6>
</div>
<img src="images/ultra-detailed-nebula-abstract-wallpaper-4_1562-749.avif"
class="img-fluid" alt="Image of an ultra detailed nebula">
<p class="card-text p-2">
<span class="fw-bold">6983 Likes</span>
<br>
Image of an ultra detailed nebula
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"></script>
<script src="scripts/script.js"></script>
</body>
</html>