generated from Code-Institute-Org/ci-full-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
game-page.html
124 lines (115 loc) · 5 KB
/
game-page.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--Favicon-->
<link rel="apple-touch-icon" sizes="180x180" href="assets/favicon_io/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/favicon_io/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/favicon_io/favicon-16x16.png">
<link rel="manifest" href="assets/favicon_io/site.webmanifest">
<!--Bootstrap Stylesheet-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<!--Font-awesome Stylesheet-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css"
integrity="sha512-5A8nwdMOWrSz20fDsjczgUidUBR8liPYU+WymTZP1lmY9G6Oc7HlZv156XqnsgNUzTyMefFTcsFH/tnJE/+xBg=="
crossorigin="anonymous" referrerpolicy="no-referrer">
<!--Cascading Stylesheet-->
<link rel="stylesheet" href="assets/css/style.css">
<!--Background music continuity-->
<script src="assets/js/background-music.js"></script>
<!--Page Title-->
<title>Toons Quiz</title>
</head>
<body>
<!--Header-->
<header class="container">
<!--Title container-->
<div class="container" id="h1-container">
<a href="index.html">
<h1> <img id="logo" src="./assets/images/logo-main.png" alt="game-logo">Toons Quiz</h1>
</a>
</div>
</header>
<!--Section-->
<section class="container">
<!--Main container that holds the Quiz-->
<div class="row content-body timer-board">
<div class="col-6 score-count">
<h2 class="hud-prefix" id="score-count-h2">Score:</h2>
<h2 class="hud-main-text" id="score">0</h2>
</div>
<!--Close button-->
<div class="col-6 timer">
<a href="exit-game-page.html" class="btn btn-primary btn-lg close-button" role="button">
<i class="fa fa-power-off"></i>
</a>
</div>
</div>
<div class="container text-center content-body quiz-info">
<div class="row">
<!--Question-->
<div class="row">
<div class="col-6 col" id="hud-q">
<h2 id="progressText" class="hud-prefix">Question:</h2>
</div>
<div class="col-6 d-none d-sm-block progress-bar-container">
<!--Progress bar-->
<div id="progressBar">
<div ID="progressBarFull">
</div>
</div>
</div>
</div>
</div>
<br>
<div class="question-section">
<div class="question">
<h2 id="question">Question</h2>
</div>
<br>
<div class="answers">
<div class="row btn-row">
<div class="col-6">
<button class="answer-btn btn btn-primary btn-lg">
<span class="option-text" data-number="1"></span>
</button>
</div>
<div class="col-6">
<button class="answer-btn btn btn-primary btn-lg">
<span class="option-text" data-number="2"></span>
</button>
</div>
</div>
<div class="row btn-row">
<div class="col-6">
<button class="answer-btn btn btn-primary btn-lg">
<span class="option-text" data-number="3"></span>
</button>
</div>
<div class="col-6">
<button class="answer-btn btn btn-primary btn-lg">
<span class="option-text" data-number="4"></span>
</button>
</div>
</div>
</div>
<div class="next-container">
<button class="btn btn-primary btn-lg" id="next-btn-container">
<span id="next-btn">Next</span>
</button>
</div>
</div>
</div>
<!--Background music-->
<div>
<audio id="background-music" loop>
<source src="assets/audio/Dance-Monkey(PaglaSongs).mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>
</div>
</section>
<script src="assets/js/my-game.js"></script>
</body>
</html>