-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquiz.html
45 lines (44 loc) · 1.68 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
44
45
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="keywords" content="quizzwithadarsh.netlify.app,quizwithadarsh.netlify.app,Quizzwithadarsh.netlify.app,quizzwithadarsh,Quizwithadarsh.netlify.app,quizzwithadarshmm.netlify.app,Adarsh M M,Adarsh.com,quiz">
<meta name="description" content="This section contains a quizz app...">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Quizz-Learning with fun</title>
<link rel="website icon" href="quiz-icon-png-24.jpg">
<link rel="stylesheet" href="quiz.css">
<link rel="html" href="create.html">
<link rel="html" href="solve.html">
<link rel="html" href="feedback.html">
</head>
<body>
<nav>
<span class="icon">Quizz</span>
<ul class="ul">
<a class="a" href="create.html"><li>Create</li></a>
<a class="a" href="solve.html"> <li>Solve</li></a>
<a class="a" href="feedback.html"><li>Feedback</li></a>
</ul>
<span class="menu"><button class="img"><img src="menu.png" width="20"></button></span>
</nav>
<section class="create">If you want to create a quizz..?
<a href="create.html"><input type="button" value="Click here to Create"></a>
</section>
<section class="solve">If you want to solve or attend a quizz..?
<a href="solve.html"><input type="button" value="Click here to Solve" ></a>
</section>
</body>
<script>
let ul=document.querySelector("ul");
let menu=document.querySelector(".img");
menu.addEventListener("click",()=>{
if(ul.classList=="ul2"){
ul.classList="ul";
}
else{
ul.classList="ul2";
}
})
</script>
</html>