-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
88 lines (64 loc) · 2.49 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>Web Developer Trivia</title>
</head>
<body>
<div class="wrapper">
<div class="header">
<img src="Back_Image.jpeg" alt="Title Image" height="200px" width="100%" >
</div>
<div class="title">
<h1>Web Developer Trivia</h1>
</div>
<div class="selectCategory">
<div class="welcome">
<h2>This quiz tests your knowledge of front-end development using <strong>HTML, CSS </strong> and <strong>JavaScript</strong></h2>
<h2>Please select the category to start.</h2>
</div>
<div class="categoryChoices">
<button id="category1" type="button">HTML</button>
<!--CSS and JavaScript buttons are disabled; will be enabled when questions are available -->
<button id="category2" type="button" >CSS</button>
<button id="category3" type="button" >JavaScript</button>
</div>
<div class="start">
<button id="startButton">Start</button>
</div>
</div>
<div class="startGame">
<div class="subHeader1">
<div id="category">Category: HTML</div>
<div id="score">Score:</div>
</div>
<div class="mainArea">
<h3 id="question">Question</h3>
<div class="choices">
<button class="choice" id="choice1">1</button>
<button class="choice" id="choice2">2</button>
<button class="choice" id="choice3">3</button>
<button class="choice" id="choice4">4</button>
</div>
<!-- <button id="nextButton">Next</button> -->
<div class="nextButtonArea">
<button id="nextButton">Next</button>
</div>
<h3 id="answer">Answer</h3>
</div>
</div>
<!--
<div class="newGameButtonArea">
<button id="newGameButton">Play Again!</button>
</div>
-->
<div class="alert">
<!-- <span class="closeButton" onclick="this.parentElement.style.display='none';">×</span>-->
<!--<a href="#" id="newGameButton">Play Again</a>-->
</div>
</div>
<script src="script.js"></script>
</body>
</html>