generated from joshuagoeke/UTA-bootcamp-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.html
51 lines (50 loc) · 2.31 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
<!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">
<title>The Timed Quiz is a Foot.</title>
<link rel="stylesheet" type="text/css" href="./assets/css/style.css"/>
<link rel="stylesheet" type="text/css" href="./assets/css/game.css"/>
</head>
<body>
<div class = "container">
<header>
<h3 class="score">Score: <span id="score"></span></h3>
<h3 class="timer">Timer: <span id="timer"></span></h3>
</header>
<div id= "game" style="display:block" class="justify-center flex-column" data-state = "visible">
<div class="question"><h2 id = "question">What is the answer to this question?</h2></div>
<div class= "btn abcd-container" data-pick="0">
<p class="prefix" id="A" data-pick="0">A</p>
<p class="abcd-option" id="option0" data-pick="0">Choice 1</p>
</div>
<div class = "btn abcd-container" data-pick="1">
<p class="prefix" id="B" data-pick="1">B</p>
<p class="abcd-option" id="option1" data-pick="1">Choice 2</p>
</div>
<div class = "btn abcd-container" data-pick="2">
<p class="prefix" id="C" data-pick="2">C</p>
<p class="abcd-option" id="option2" data-pick="2">Choice 3</p>
</div>
<div class = "btn abcd-container" data-pick="3">
<p class="prefix" id="D" data-pick="3">D</p>
<p class="abcd-option" id="option3" data-pick="3">Choice 4</p>
</div>
</div>
<div class = "all-done" style="display:none">
<div class = "done-form" style="display:block">
<h3>Please enter your initials.</h3>
<label for="initials">Initials:</label><br>
<input type="text" id="initialbox"><br><br>
<button onclick="recordScore()" class= "btn">Submit</button><br>
</div>
<h1>Thanks for Playing</h1>
<a class="btn done" href="index.html">Play Again?</a>
<a class="btn done" href="./highscores.html">High Scores</a>
</div>
</div>
<script src="./assets/script.js"></script>
</body>
</html>