-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.html
53 lines (52 loc) · 1.97 KB
/
game.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
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" type="text/css" href="app.css" />
<link rel="stylesheet" type="text/css" href="game.css" />
<meta name="author" content="Ivan Kapunac" />
<meta name="description" content="QuizApp Upadated 2.0. For my dearest friend, Koni. A playful project with JS fetching quiz API :)" />
<script defer src="game.js"></script>
<title>Quiz App - Game Page</title>
</head>
<body>
<div class="container">
<div id="game" class="justify-center flex-column">
<div id="hud">
<div id="hudItem">
<p class="hudPrefix">
Question
</p>
<h1 class="hudMainText" id="questionCounter">
</h1>
</div>
<div id="hudItem">
<p class="hudPrefix">
Score
</p>
<h1 class="hudMainText" id="score">
0
</h1>
</div>
</div>
<h2 id="question">What is the answer to this question?</h2>
<div class="choiceContainer">
<p class="choicePrefix">A</p>
<p class="choiceText" data-number="1">Choice 1</p>
</div>
<div class="choiceContainer">
<p class="choicePrefix">B</p>
<p class="choiceText" data-number="2">Choice 2</p>
</div>
<div class="choiceContainer">
<p class="choicePrefix">C</p>
<p class="choiceText" data-number="3">Choice 3</p>
</div>
<div class="choiceContainer">
<p class="choicePrefix">D</p>
<p class="choiceText" data-number="4">Choice 4</p>
</div>
</div>
</div>
</body>
</html>