generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
144 lines (141 loc) · 6.33 KB
/
index.html
File metadata and controls
144 lines (141 loc) · 6.33 KB
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
<!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">
<meta name="description" content="Geography Is Cool!!">
<meta name="keywords"
content="Geography is cool, geography, quiz game, quiz, flag quiz, flag game, flag, game, fun quiz, educational quiz, education, countries, knowledge, question game, question">
<link rel="icon" href="assets/images/favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" href="assets/images/apple-touch-icon.png">
<link rel="stylesheet" href="assets/css/style.css">
<title>Geography Is Cool!!</title>
</head>
<body>
<header>
<h1>Geography Is Cool !!</h1>
</header>
<!-- Start Page -->
<section id="start-page">
<div class="container container-start">
<div id="home" class="flex-center flex-column">
<div class="container-div">
<h2>Welcome to the Geography Is Cool Quiz Game!</h2>
<p> Test your knowledge of flags from around the world and see how well you can identify different
countries based on their flags. Each question will present you with a flag, and you'll have to
select the correct country from multiple-choice options. Let's get started!
</p>
</div>
<div class="start-btn">
<a class="btn" href="#choose-level" id="btn-start">Play</a>
<a class="btn btn-scores" href="#highscores-page" id="btn-scores">Highscores</a>
</div>
</div>
</div>
</section>
<!-- Choose Level -->
<section id="choose-level">
<div class="container flex-column">
<div class="container-div container-div-level">
<h2>Choose level</h2>
<p> Here you can choose your level (amount of flags/questions) among 10, 25, 50 or if you dare All flags
(249)!
</p>
</div>
<a class="btn btn-level" href="#game-page" data-level="10-flags">10 Flags</a>
<a class="btn btn-level" href="#game-page" data-level="25-flags">25 Flags</a>
<a class="btn btn-level" href="#game-page" data-level="50-flags">50 Flags</a>
<a class="btn btn-level" href="#game-page" data-level="all-flags">All Flags</a>
<a class="btn" href="#start-page" id="btn-back">Go Back</a>
</div>
</section>
<!-- Game Page -->
<section id="game-page">
<div class="container container-game">
<div id="game" class="justify-center flex-column">
<h2>Find the country of</h2>
<p class="hidden" id="question-hidden"></p>
<img src="#" alt="" id="question">
<div class="timer">
<p>Time remaining :<span id="timer">10</span></p>
</div>
<div class="choice-container">
<p class="choice-prefix">A</p>
<p class="answer">Answer 1</p>
</div>
<div class="choice-container">
<p class="choice-prefix">B</p>
<p class="answer">Answer 2</p>
</div>
<div class="choice-container">
<p class="choice-prefix">C</p>
<p class="answer">Answer 3</p>
</div>
<div class="choice-container">
<p class="choice-prefix">D</p>
<p class="answer">Answer 4</p>
</div>
<div class="answer-result">
<p id="answer-result"></p>
</div>
<div id="hud">
<div class="hud-item">
<p class="hud-prefix">
Question
</p>
<h3 class="hud-main-text" id="question-counter">
1/2
</h3>
</div>
<div class="hud-item">
<p class="hud-prefix">
Correct
</p>
<h3 class="hud-main-text" id="score">
0
</h3>
</div>
</div>
<!-- Modal -->
<div id="myModal" class="modal">
<div class="modal-content">
<p id="modal-content"></p>
</div>
</div>
</div>
</div>
</section>
<!-- Highscores Page -->
<section id="highscores-page">
<div class="container">
<div class="flex-center flex-column" id="highscores">
<h2>High Scores </h2>
<div class="div-list">
<ol id="highscores-list"></ol>
</div>
<a class="btn btn-scores" href="#start-page" id="btn-home">Go Home</a>
</div>
</div>
</section>
<footer>
<div class="social">
<a href="https://github.com/Vasileios20/geography-is-cool" target="_blank"
aria-label="Visit the game's repository page on git hub"><i class="fa-brands fa-github"></i></a>
<a href="https://www.facebook.com/geografitness" target="_blank" aria-label="Visit Facebook page"><i
class="fa-brands fa-facebook"></i></a>
<a href="https://www.instagram.com/geografitness/" target="_blank" aria-label="Visit Instagram page"><i
class="fa-brands fa-instagram"></i></a>
</div>
<div id="background-image-link">
<a
href="https://www.freepik.com/free-vector/old-colored-map_9386675.htm#page=2&query=world%20map&position=33&from_view=search&track=ais" target="_blank" aria-label="Visit the background's image source">Image
by macrovector</a>on Freepik
</div>
</footer>
<script src="https://kit.fontawesome.com/cdf0a3356f.js" crossorigin="anonymous"></script>
<script src="assets/js/highscore.js"></script>
<script src="assets/js/countries.js"></script>
<script src="assets/js/script.js"></script>
</body>
</html>