-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
88 lines (83 loc) · 2.62 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>NASA APOD Viewer</title>
<link rel="stylesheet" href="style.css" />
<link
rel="icon"
type="image/png"
href="https://s2.googleusercontent.com/s2/favicons?domain=www.nasa.gov"
/>
<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=Major+Mono+Display&family=Montserrat:wght@400;700&display=swap"
rel="stylesheet"
/>
<script
src="https://kit.fontawesome.com/f02a470b1f.js"
crossorigin="anonymous"
></script>
</head>
<body>
<!-- Loader -->
<div class="loader hidden">
<img src="media/rocket-navy-090185.svg" alt="rocket loader" />
</div>
<!-- Container -->
<div class="container">
<!-- Navigation -->
<div class="navigation-container">
<span class="background"
><img
src="media/nasa-logo.png"
alt="NASA Logo"
class="nasa-logo-desktop"
/></span>
<!-- Results Nav -->
<span class="nav-items" id="resultsNav">
<h3 class="clickable" onclick="updateDOM('favourites')">
Favourites
</h3>
<h3>
<i class="fa-solid fa-meteor"></i
>
</h3>
<h3 class="clickable" onclick="getNasaPictures()">Load More</h3>
</span>
<!-- Favourites Nav -->
<span class="nav-items hidden" id="favouritesNav">
<h3 class="clickable" onclick="getNasaPictures()">
<i class="fa-solid fa-satellite-dish"></i> Load More APOD Images
</h3>
</span>
</div>
<!-- Images Container -->
<div class="images-container"></div>
</div>
<!-- Save Confirmation-->
<div class="save-confirmation" hidden>
<h1>ADDED</h1>
</div>
<!-- Remove Image Confirmation-->
<div class="remove-confirmation" hidden>
<h1>REMOVED</h1>
</div>
<!-- Footer -->
<div class="footer">
<p class="footer-text">
Developed by Hannah O'Connor
<a
href="https://github.com/hanoconnor"
target="_blank"
class="clickable socials"
><i class="fa-brands fa-github"></i
></a>
</p>
</div>
<!-- Script -->
<script src="script.js"></script>
</body>
</html>