-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
47 lines (46 loc) · 1.52 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
<!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" />
<title>Gallery</title>
</head>
<body>
<a href=".">
<h1>
<svg
xmlns="http://www.w3.org/2000/svg"
width="20"
height="20"
fill="currentColor"
class="bi bi-images"
viewBox="0 0 16 16"
>
<path d="M4.502 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z" />
<path
d="M14.002 13a2 2 0 0 1-2 2h-10a2 2 0 0 1-2-2V5A2 2 0 0 1 2 3a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v8a2 2 0 0 1-1.998 2zM14 2H4a1 1 0 0 0-1 1h9.002a2 2 0 0 1 2 2v7A1 1 0 0 0 15 11V3a1 1 0 0 0-1-1zM2.002 4a1 1 0 0 0-1 1v8l2.646-2.354a.5.5 0 0 1 .63-.062l2.66 1.773 3.71-3.71a.5.5 0 0 1 .577-.094l1.777 1.947V5a1 1 0 0 0-1-1h-10z"
/>
</svg>
Gallery
</h1>
</a>
<!-- Card container which contains all the img elements which are added using JS -->
<div id="card-container"></div>
<!-- Loading animation elements which is shown while images are fetched asynchronously -->
<div id="loading">
<div class="ball first"></div>
<div class="ball second"></div>
<div class="ball third"></div>
</div>
<!-- Text showing current shown images and total images -->
<div class="card-actions" style="color: aliceblue">
<span
>Showing <span id="card-count"></span> of
<span id="card-total"></span> cards
</span>
</div>
</body>
<script src="app.js"></script>
</html>