-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
82 lines (79 loc) · 3.08 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
<!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.count">
<title>Document</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<style>
#startQuiz, #QuizBox, #restartQuiz{
width:75vw;
margin:15vh auto;
}
</style>
</head>
<body>
<!-- ######## start quiz ########## -->
<div id="startQuiz" class="bg-light p-5 shadow">
<h1 class="text-center">Quiz</h1>
<hr class="mb-4">
<input type="text" id="playerName" placeholder="Enter your Name" class="form-control w-50 m-auto">
<input type="button" id="startQuizBtn" value="Start" class="btn btn-dark mt-3 m-auto d-block">
</div>
<!-- ***********Quiz-Box*************** -->
<div id="QuizBox" class="bg-light p-5 shadow">
<div class="row">
<div class="col">
<h4 id="chnagePlayerName">Player</h4>
</div>
<div class="col">
<h4 id="time" class="text-center">00:00</h4>
</div>
<div class="col">
<h4 id="points" class="float-end">Points: 0</h4>
</div>
<hr>
<div class="row">
<div class="col">
<h2 id="q">Questons</h2>
</div>
</div>
<div class="row row-cols-2">
<div class="col">
<input type="button" value="a" id="a" class="opt btn btn-dark w-100 m-4">
</div>
<div class="col">
<input type="button" value="b" id="b" class="opt btn btn-dark w-100 m-4">
</div>
<div class="col">
<input type="button" value="c" id="c" class="opt btn btn-dark w-100 m-4">
</div>
<div class="col">
<input type="button" value="d" id="d" class="opt btn btn-dark w-100 m-4">
</div>
</div>
<hr class="mt-5">
<div class="row">
<div class="col">
<h4 id="questionNo">Question: 0/0</h4>
</div>
<div class="col">
<input type="button" value="50:50" id="lifeLine" class="btn btn-dark w-50 d-block m-auto">
</div>
<div class="col">
<input type="button" id="nextQuestion" value="Next" class="float-end btn btn-outline-dark w-50 ">
</div>
</div>
</div>
</div>
<!-- *************** restart quiz-box**************** -->
<div id="restartQuiz" class="bg-light p-5 shadow">
<h3 id="finalPoints" class="text-center">Final Points: 0</h3>
<input type="button" value="Restart Quiz " class="btn btn-dark d-block mt-4 m-auto" id="restartQuizBtn">
</div>
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/jquery.js"></script>
<script src="index.js"></script>
</body>
</html>