Skip to content

AmikerB/JavaScript-Quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Quiz

This webpage allows the user to test their JavaScript knowledge with a JavaScript quiz. When the "Start Quiz" button in clicked the timer begins and the user is presented with the first question. The questions will appear in a random order, with the answer choices also appearing in a random order. When the correct answer is clicked the next question appears. If the user clicks the wrong answer "wrong" appears underneath the choices and the time decreases by 10 seconds. The game is over once all the questions are answered or the timer reaches 0. Then a game over page appears showing the users quiz score and an input box for the user to type their initials and submit them. On the main webpage there is a button which takes the user to the Highscores, this page shows the top 5 highest scores with the users corresponding initials. There is a button to clear the scores which also clears the scores in the local storage.

Usage

Screenshots of wepage on a desktop:

Screenshot of question:

alt text

Screenshot of end page:

alt text

Screenshot of highscore page:

alt text

Credits