Skip to content

mathminx/JavaScript-Quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 

Repository files navigation

Challenge 4 - JavaScript Quiz

https://mathminx.github.io/JavaScript-Quiz/

Description

This application is a short quiz on JavaScript that runs in the browser, and is powered by JavaScript code that dynamically updates HTML and CSS. Users are given 5 multiple choice questions to answer in a time limit of 120 seconds (2 minutes). When finished, the user can save their initials and score, which are added to existing initials-score data in local storage. After the user saves their score information, a list of saved scores is displayed in descending order of scores. The user can also click a button on the screen that will display the scaved scores. This app runs in the browser, and is powered by JavaScript code that dynamically updates HTML and CSS.

Installation

The project is deployed via GitHub Pages.

Usage:

The user begins the quiz by clicking the Start button.

image

The user is presented with a multiple-choice question with four answers to choose from. The user selects an answer by clicking on it. A message will appear above the question area to indicate whether their asnwer was correct or incorrect. The next question is displayed.

image

Once the user has answered all questions or the time has run out, an input form will be displayed where they can enter their initials and click the save button.

image

Their initials and score will be saved to local storage. All saved scores will then be displayed in descending order of score.

image

The user can also click the View High Scores button in the top-left corner of the screen, and the scores will be displayed below the start button.

image

License

MIT License

Badges

made-with-javascript

alt text

alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published