-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (39 loc) · 1.58 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
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400&display=swap" rel="stylesheet">
<title>Gallery</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' media='screen' href='./css/main.css'>
</head>
<body>
<section class="fullscreen-img hide">
</section>
<article class="display-all-imgs hide">
<p id="total-imgs"><span id="imgs-number">0</span> total images</p>
</article>
<main>
<h1 id="app-title">Gallery</h1>
<article class="image-container">
<button id="previous" onclick="prevImage()"><</button>
<section class="image-section">
</section>
<button id="next" onclick="nextImage()">></button>
<form method="POST">
<input type="file" multiple accept="image/*" id="upload">
<label id="upload-label" for="upload">Upload</label>
</form>
<p id="error">Not more than 5MB</p>
<button id="view-all-imgs" onclick="viewImgs()">View All Images</button>
</article>
<button id="close-button" class="hide">x</button>
</main>
<footer>
<a href='https://www.freepik.com/vectors/background'>Background vector created by freepik - www.freepik.com</a>
</footer>
<script src='./js/main.js'></script>
</body>
</html>