-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
112 lines (100 loc) · 3.51 KB
/
index.html
File metadata and controls
112 lines (100 loc) · 3.51 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Quiz website</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<main class="main">
<header class="header">
<a href="#" class="logo">Quiz.</a>
<nav class="navbar">
<a href="#" class="active">Home</a>
<a href="#">About</a>
<a href="#">Services</a>
<a href="#">Contact</a>
</nav>
</header>
<div class="container">
<section class="quiz-section" >
<div class="quiz-box">
<h1>Code Quiz</h1>
<div class="quiz-header">
<span>Quiz Game </span>
<span class="header-score">Score: 0 / 5</span>
</div>
<h2 class="question-text">What does HTML stand for?</h2>
<div class="option-list">
<!-- <div class="option">
<span>A. Hyper Text Markup Language</span>
</div>
<div class="option-list">
<div class="option">
<span>B. Hyper Text Multiple Language</span>
</div>
<div class="option-list">
<div class="option">
<span>C. Hyper Text Multi Language</span>
</div>
<div class="option-list">
<div class="option">
<span>D. Home Text Markup Language</span>
</div> -->
</div>
<div class="quiz-footer">
<span class="question-total">1 of 5 Questions</span>
<button class="next-btn" >Next</button>
</div>
</div>
<div class="result-box">
<h2>Quiz Result!</h2>
<div class="percentage-container">
<div class="circular-progress">
<span class="progress-value">0%</span>
</div>
<span class="score-text">Your Score 0 out of 5</span>
</div>
<div class="buttons">
<button class="tryAgain-btn">Try again</button>
<button class="goHome-btn">Go To Home</button>
</div>
</div>
</section>
<section class="home">
<div class="home-content">
<h1>Quiz Website</h1>
<p>
Welcome to our coding quiz game! Test your programming knowledge and challenge yourself with our diverse set of questions.
</p>
<button class="start-btn">Start Quiz</button>
</div>
</section>
</div>
</main>
<div class="popup-info">
<h2>Quiz Guide</h2>
<span class="info">1. Identify the correct answer by selecting the green box.
</span>
<span class="info"
>2. Avoid incorrect choices marked with the red box.
</span
>
<span class="info">3. You'll have the chance to reattempt.
</span>
<span class="info"
>4. Keep track of your progress by checking your score. </span
>
<span class="info"
>5. Displayed as a percentage.</span
>
<div class="btn-group">
<button class="info-btn exit-btn">Exit Quiz</button>
<a href="#" class="info-btn continue-btn">Continue</a>
</div>
</div>
<script src="question.js"></script>
<script src="script.js"></script>
</body>
</html>