-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
170 lines (129 loc) · 6.69 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
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html>
<html lang="pl">
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta http-equiv="X-UA-Compatible" content="ie=edge"/>
<title>CodersCamp2020 | Pokemon Quiz</title>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="styles/App.css"/>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet">
<link rel="icon" href="./static/assets/ui/lightning.svg">
</head>
<body>
<div id="pokequiz-app">
Łukasz Dutka
daria305
memeraki / Gosia Dziewit
Aleksandra Cypko / AleksandraCyp
mariusz-sm / Mariusz Smarz
Agata Ludwiczyńska/ AgataLudwiczynska
arendarczyk / Kamil Arendarczyk
</div>
<template id="starting-page-template">
<div id="headerWithLogo" class="firstColumn spanInPortrait disableWithPopUpScreen">
<img src="./static/assets/ui/logo.png" alt='Pokemon' id='pokemonLogo'/>
<p id='quizLogo' class='fancyFontStyle'>Quiz</p>
</div>
<ul id="selectModeMenu" class="firstColumn spanInPortrait disableWithPopUpScreen">
<li id='whoIsThatPokemonOption' class="buttonWithText">Who's that pokemon?</li>
<li id='whatItLooksLikeOption' class="buttonWithText">What it looks like?</li>
<li id='whoIsThatPokemonHardModeOption' class="buttonWithText">Who's that pokemon? (hard mode)</li>
</ul>
<div id='enterNameAndPlayMenu' class="secondColumn spanInPortrait disableWithPopUpScreen">
<p id='enterYourName' class='fancyFontStyle'>ENTER YOUR NAME</p>
<div id='enterYourNameArea'>
<img src='./static/assets/ui/user.svg' alt='playerIcon' id='playerIcon'/>
<input type='text' id='enterYourNameInput' maxlength="8">
</div>
</div>
<div id='startGame' class="secondColumn spanInPortrait disableWithPopUpScreen">
<input type='button' id='startGameButton' class="buttonWithText" value='PLAY' autocomplete='off'>
</div>
<ul class='bottomOfThePageOptions firstColumn disableWithPopUpScreen'>
<li id='helpOption'>?</li>
<li id='leaderboard'><img src="./static/assets/ui/crown.svg" alt="crown"></li>
</ul>
<svg class="replaceMe secondColumn disableWithPopUpScreen" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="75 -10 690 610"></svg>
</template>
<template id="help-modal-template">
<div class='popUpScreen' id='helpScreen'>
<div class='popUpTitleArea' id='popUpTitleAreaHelp'>
<h1 class='popUpTitle' id='popUpTitleHelp'>HELP</h1>
<p class='exitPopUpScreen' id='exitPopUpScreenHelp'>✕</p>
</div>
<ul class='mainHelpTextSection'>
<li><span class='helpTitle'>Who's that pokemon?</span> During the quiz, you will have to guess the name of the pokemon displayed in the picture. The game ends after 2 minutes or after you answer 30 questions.</li>
<li><span class='helpTitle'>What it looks like?</span> During the quiz, you will have to select the correct picture of the pokemon whose name is displayed on the screen. The game ends after 2 minutes or after you answer 30 questions.</li>
<li><span class='helpTitle'>Who's that pokemon? (hard mode)</span> During the quiz, you will have to guess the name of the pokemon shadow displayed in the picture. The game ends after 2 minutes or after you answer 30 questions.</li>
</ul>
<div class='popUpImgArea'>
<img src='./static/assets/ui/pikachu2.png' alt='Pikachu' id='littlePikachu' class='popUpImg'/>
</div>
</div>
</template>
<template id="leaderboard-modal-template">
<div class='popUpScreen' id='leaderboardScreen'>
<div class='popUpTitleArea' id='popUpTitleAreaLeaderBoard'>
<h1 class='popUpTitle' id='popUpTitleLeaderboard'>LEADERBOARD</h1>
<p class='exitPopUpScreen' id='exitPopUpScreenLeaderboard'>✕</p>
</div>
<div id='chooseModeLeaderboardArea'>
<label id='chooseModeLeaderboardLabel' for='chooseModeLeaderboard'>Points per game in</label>
<select id='chooseModeLeaderboard'>
<option value='whoIsThatPokemon'>Who's that pokemon?</option>
<option value='whatItLooksLike'>What it looks like?</option>
<option value='whoIsThatPokemonHardMode'>Who's that pokemon (hard mode)</option>
</select>
</div>
<ul id='leaderboardResults'></ul>
</div>
</template>
<template id="quiz-template">
<div class="quiz-top-bar progress-bar">
<div id="timer"></div>
<div id="timerLabel"></div>
<div class="mode-title">
<div></div>
</div>
<div id="question-counter"></div>
</div>
<div id="quiz-body">
<div class="quiz-question"></div>
<ul class="quiz-answers-list"></ul>
</div>
</template>
<template id="quiz-li">
<li class="quiz-answer">
<div class="unchecked"></div>
</li>
</template>
<template id="results-modal-template">
<div class='popUpScreen' id='resultsScreen'>
<div class='popUpTitleResultsArea' id='popUpTitleAreaResults'>
<h1 class='popUpTitle' id='popUpTitleResults'>GAME OVER</h1>
</div>
<div class='resultsDescriptionArea'>
<p id='resultsDescription'></p>
</div>
<div id='tableWithResultsArea'>
<img src='./static/assets/ui/pikach1.png' alt='Pikachu' id='nextToTableImg'>
<div id='tableWithResults'>
<table>
<tr>
<th colspan='2'>Correct</th>
<th>You</th>
</tr>
</table>
</div>
</div>
<div id='backToStartingPageButtonArea'>
<input type='button' value="Gotta catch 'em all!" id='backToStartingPageButton'/>
</div>
</div>
</template>
<script src="src/index.js"></script>
</body>
</html>