-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
70 lines (41 loc) · 1.45 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Trivia Game</title>
<link rel="stylesheet" type="text/css" href="assets/css/reset.css">
<link href="https://fonts.googleapis.com/css?family=Kanit" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
</head>
<body>
<div class="container">
<h1>National Parks Trivia Game</h1>
<div id="startScreen">
<button id="startButton">Click here to start!</button>
</div>
<div id="questions">
<div id="questionImage"></div>
<div id="timeRemaining">
Time Remaining: 30 Seconds
</div>
<div id="resultText"></div>
<div id="questionText"></div>
<button id="buttonAnswerOne" type="option" ref="0"></button>
<button id="buttonAnswerTwo" type="option" ref="1"></button>
<button id="buttonAnswerThree" type="option" ref="2"></button>
<button id="buttonAnswerFour" type="option" ref="3"></button>
</div>
<div id="endScreen">
<h2>Game Over</h2>
<h3>There are no more questions.</h3>
<h4>Final score is:</h4>
<p id="correctAnswers">Correct Answers: </p>
<p id="wrongAnswers">Incorrect Answers: </p>
<p id="timedOutAnswers">Unanswered questions: </p>
<button id="endButton">Click here to play again!</button>
</div>
</div>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src="assets/javascript/app.js"></script>
</body>
</html>