forked from Shubham56-droid/Web-Components-Projects
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (56 loc) · 2.23 KB
/
index.html
File metadata and controls
56 lines (56 loc) · 2.23 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
<!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>Document</title>
<!----------------- Linking the css ------------------------->
<link rel="stylesheet" href="./style.css">
<!----------------- Font Awesome CDN ----------------------->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" integrity="sha512-9usAa10IRO0HhonpyAIVpjrylPvoDwiPUiKdWk5t3PyolY1cOd4DSE0Ga+ri4AuTroPR5aQvXU9xC6qOPnzFeg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<div class="preloader">
<div class="counter">0</div>
<img src="" alt="">
</div>
<!----------- Main Question Body ------------->
<div class="main" id="main">
<h2 class="demo"></h2>
<div class="answer">
<p class="options1" id="option1" ></p>
<p class="options2" id="option2"></p>
<p class="options3" id="option3"></p>
<p class="options4" id="option4"></p>
</div>
<div class="buttons">
<button id="cnfbtn" >Confirm Answer</button>
<button onclick="displayQuestion()" id="nextbtn">Next Question</button>
<button id="helpbtn">Help</button>
<button onclick="restart()" id="reloading">Restart</button>
</div>
<div class="helpMe active" id="helpMe">
<i class="fa-solid fa-xmark" id="closemark"></i>
<p class="help" id="helptext"></p>
</div>
</div>
<!----------- Score Board Answer --------------->
<div class="scoreboard inactive" id="scoreboard">
<p id="headingScore">Result of the test</p>
<div class="answerNum">
<p id="correntAnswer"></p>
<p id="wrongAnswer"></p>
<p id="userScore"></p>
<p id="skipnote"></p>
</div>
<button onclick="restart()">Restart</button>
</div>
<script
src="https://code.jquery.com/jquery-3.6.0.js"
integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk="
crossorigin="anonymous">
</script>
<script src="./script.js"></script>
</body>
</html>