-
Notifications
You must be signed in to change notification settings - Fork 0
/
quiz.html
43 lines (39 loc) · 1.73 KB
/
quiz.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
<!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>Quiz Game - API Project</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta2/css/all.min.css" integrity="sha512-YWzhKL2whUzgiheMoBFwW8CKV4qpHQAEuvilg9FAn5VJUDwKZZxkJNuGM4XkWuk94WCrrwslk8yWNGmY1EduTA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel = "stylesheet" href = "main.css">
</head>
<body class = "flex">
<div class = "wrapper">
<div class = "quiz-container">
<div class = "quiz-head">
<h1 class = "quiz-title">Quiz Game</h1>
<div class = "quiz-score flex">
<span id = "correct-score"></span>/<span id = "total-question"></span>
</div>
</div>
<div class = "quiz-body">
<h2 class = "quiz-question" id = "question"><!--What is the full form of HTTP? --></h2>
<ul class = "quiz-options">
<!-- <li>1. Hyper text transfer package</li>
<li>2. Hyper text transfer protocol</li>
<li>3. Hyphenation text test program</li>
<li>4. None of the above</li> -->
</ul>
<div id = "result">
</div>
</div>
<div class = "quiz-foot">
<button type = "button" id = "check-answer">Check Answer</button>
<button type = "button" id = "play-again">Play Again!</button>
</div>
</div>
</div>
<script src = "script.js"></script>
</body>
</html>