-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
43 lines (35 loc) · 1.06 KB
/
index.html
File metadata and controls
43 lines (35 loc) · 1.06 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Number Quest</title>
<link rel="stylesheet" href="styles/style.css">
</head>
<body>
<header class="header">
<h1>Number Quest</h1>
<div class="question-board">
<span>Question: </span><span id="question-no">1</span>
</div>
<div class="score-board">
<span>Score: </span><span id="score">0</span>
</div>
</header>
<main class="game-container">
<div class="question-box">
<h2 id="question">Loading question...</h2>
</div>
<div class="options" id="options">
<!-- Options will be inserted dynamically -->
</div>
<div class="controls">
<button id="next-btn" class="btn" disabled>Next Question</button>
</div>
</main>
<footer class="footer">
<p>Powered by Open Trivia DB API</p>
</footer>
<script src="scripts/script.js"></script>
</body>
</html>