Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quiz app #101

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Quiz App/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
## Quiz Application

<h3> Tech Stack Used <img src = "https://media2.giphy.com/media/QssGEmpkyEOhBCb7e1/giphy.gif?cid=ecf05e47a0n3gi1bfqntqmob8g9aid1oyj2wr3ds3mg700bl&rid=giphy.gif" width = 32px> </h3>
<p align="left"> <a href="https://www.w3.org/html/" target="_blank"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/html5/html5-original-wordmark.svg" alt="html5" width="40" height="40"/> </a> <a href="https://www.w3schools.com/css/" target="_blank"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/css3/css3-original-wordmark.svg" alt="css3" width="40" height="40"/> </a> <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript" target="_blank"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/javascript/javascript-original.svg" alt="javascript" width="40" height="40"/> </a> </p>

### Preview
Binary file added Quiz App/code/images/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
101 changes: 101 additions & 0 deletions Quiz App/code/images/image.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
90 changes: 90 additions & 0 deletions Quiz App/code/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
<!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">
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="./images/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />
<title>Quiz App </title>
</head>

<body class="container">
<!-- Start Page-->
<div class="landing">
<div class="left">
<img src="./images/image.svg" alt="">
</div>
<div class="right">
<h2><i class="fas fa-check-square icon"></i> <u> TAKE THE QUIZ </u> </h2>
<h2><i class="fas fa-check-square icon"></i> <u> SEE YOUR SCORE </u> </h2> <br> <br>
<button class="btn" id="start_btn">Start Quiz</button>
</div>
</div>

<!-- Info Box -->
<div class="info_box">
<div class="info-title"><span>Rules of this Quiz</span></div>
<div class="info-list">
<ol>
<li>You will have only 10 seconds per each question.</li>
<li>Once you select your answer, you can't reselect it.</li>
<li>You can't select any option once time goes off.</li>
<li>You can't exit from the quiz while you are playing.</li>
<li>You'll get points for your correct answers.</li>
</ol>
</div>
<div class="buttons">
<button class="quit">Exit Quiz</button>
<button class="restart">Continue</button>
</div>
</div>

<!-- Quiz Box -->
<div class="quiz_box">
<div class="header">
<div class="title">Quiz Application</div>
<div class="timer">
<div class="time_text">Time Left</div>
<div class="timer_sec">10</div>
</div>
<div class="time_line"></div>
</div>
<div class="que-box">
<div class="que_text">
<!-- JavaScript -->
</div>
<div class="option_list">
<!-- JavaScript -->
</div>
</div>
<div class="footer">
<div class="total_que">
<!-- JavaScript -->
</div>
<button class="next_btn">Next</button>
</div>
</div>

<!-- Result Box -->
<div class="result_box">
<div class="icon">
<i class="fas fa-crown"></i>
</div>
<div class="text">You've completed the Quiz!</div>
<div class="score_text">
<!-- JavaScript -->
</div>
<div class="buttons">
<button class="restart">Replay Quiz</button>
<button class="quit">Quit Quiz</button>
</div>
</div>

<script src="script.js"></script>

</body>

</html>
Loading