-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgenSelect.html
120 lines (114 loc) · 3.86 KB
/
genSelect.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
<!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="CSS/genSelect.css" />
<link rel="icon" href="images/favicon.png" />
<title>Pokemon Trivia | Generation</title>
</head>
<body>
<div class="navbar">
<div class="container">
<ul class="top-nav">
<li>
<a href="mainPage.html"
><img
id="pika-icon"
src="images/Pikachu-Icon.png"
alt="Pikachu Icon"
/></a>
</li>
<li>
<a class="logo-name" href="mainPage.html"
>Pokemon <span>Trivia</span></a
>
</li>
</ul>
<img
id="mobile-cta"
class="mobile-menu-btn"
src="images/menu.svg"
alt="Open Navigation"
/>
<nav>
<img
id="mobile-exit-btn"
class="mobile-exit"
src="images/exit.svg"
alt="Close Navigation"
/>
<ul class="primary-menu">
<li><a href="mainPage.html">Home</a></li>
<li><a href="randomPage.html">Random</a></li>
<li id="gen-menu">
<a class="current" href="genSelect.html">Generation</a>
<div class="gen-dropdown">
<a href="GenerationPage.html">Generation 1</a>
<a href="GenerationPage.html">Generation 2</a>
<a href="GenerationPage.html">Generation 3</a>
<a href="genSelect.html">more...</a>
</div>
</li>
<li><a href="legendaryPage.html">Legendary</a></li>
</ul>
</nav>
</div>
</div>
<section class="gen-select-section">
<h1>List of Generations</h1>
<div class="container">
<ul>
<li>
<img src="images/pokemon/gen-1.jpg" alt="Generation 1 Starters" />
<a href="GenerationPage.html">Generation 1</a>
</li>
<li>
<img src="images/pokemon/gen-2.jpg" alt="Generation 2 Starters" />
<a href="GenerationPage.html">Generation 2</a>
</li>
<li>
<img src="images/pokemon/gen-3.jpg" alt="Generation 3 Starters" />
<a href="GenerationPage.html">Generation 3</a>
</li>
<li>
<img src="images/pokemon/gen-4.jpg" alt="Generation 4 Starters" />
<a href="GenerationPage.html">Generation 4</a>
</li>
<li>
<img src="images/pokemon/gen-5.jpg" alt="Generation 5 Starters" />
<a href="GenerationPage.html">Generation 5</a>
</li>
<li>
<img src="images/pokemon/gen-6.jpg" alt="Generation 6 Starters" />
<a href="GenerationPage.html">Generation 6</a>
</li>
<li>
<img src="images/pokemon/gen-7.jpg" alt="Generation 7 Starters" />
<a href="GenerationPage.html">Generation 7</a>
</li>
<li>
<img src="images/pokemon/gen-8.png" alt="Generation 8 Starters" />
<a href="GenerationPage.html">Generation 8</a>
</li>
<li>
<img src="images/pokemon/gen-9.jpg" alt="Generation 9 Starters" />
<a href="#0">Comming Soon</a>
</li>
</ul>
</div>
</section>
<script>
const mobileBtn = document.getElementById("mobile-cta"),
nav = document.querySelector("nav"),
mobileExit = document.getElementById("mobile-exit-btn");
mobileBtn.addEventListener("click", () => {
nav.classList.add("mobile-menu");
});
mobileExit.addEventListener("click", () => {
nav.classList.remove("mobile-menu");
});
</script>
</body>
</html>