-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
74 lines (68 loc) · 2.57 KB
/
index.html
File metadata and controls
74 lines (68 loc) · 2.57 KB
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
<!DOCTYPE html>
<html lang="en">
<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">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://code.jquery.com/jquery-3.2.1.js" integrity="sha256-DZAnKJ/6XZ9si04Hgrsxu/8s717jcIzLy3oi35EouyE=" crossorigin="anonymous"></script>
<title>Trivia</title>
</head>
<body>
<div class="container">
<h1 class="title">Timed Tech Quiz</h1>
<hr>
<div id="welcome">
<p class="timer hidden">
Get Ready:
<span class="first-timer">5</span>
<div id="intro" class="row center-block">
<div class="col-sm-6 ">
<p>Test your tech knowledge! <br /> Click the button to begin.</p>
</div>
<div class="col col-sm-6">
<button class="btn btn-success btn-block" onclick="initCounter()" id="start-btn">Start</button>
</div>
</div>
</p>
</div>
<div class="hidden" id="game">
<div class="game-top">
<div id="question-num"></div>
<div class="inline-time">
<p>Timer:
<span class="game-timer">15</span>
</p>
</div>
</div>
<div id="question"></div>
<div id="choices">
<div id="A" class="answer" value="A"></div>
<div id="B" class="answer" value="B"></div>
<div id="C" class="answer" value="C"></div>
<div id="D" class="answer" value="D"></div>
</div>
<br>
<div class="row">
<div class="col-sm-6">
<button class="btn btn-primary btn-block" id="next-btn">Next Question</button>
</div>
<div class="col-sm-6">
<!-- <button class="btn btn-warning btn-block pull-right" id="restart-btn" onclick="restartGame()">Restart</button> -->
</div>
</div>
</div>
<div class="hidden" id="result-section">
<div id="results">
<div id="number-wrong"></div>
<div id="number-correct"></div>
<div id="score"></div>
</div>
<br>
<!-- <button class="restart-btn btn btn-danger" onclick="restartGame()">Play Again</button> -->
</div>
</div>
<script src="assets/javascript/trivia.js"></script>
</body>
</html>