Skip to content

Chae-Lee/coding-quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coding-quiz

This is a JavaScript application that displays a quiz with multiple choice questions in the browser

This is a application that runs in the browser and features dynamically updated HTML and CSS that is powered by JavaScript code.


Description

  • The code will run to generate multiple choice quiz with the ability to log high scores.

  • When 'Start' button is clicked the quiz begins displaying the first question with it's selection of multiple choice answers and the timer of 60 seconds begins countdown.

  • When the correct answer is selected the next question with the set of choices displays.

  • When the incorrect answer is selected 10 seconds are deducted from the timer.

  • Quiz ends when all questions are answered or the timer reaches 0.

  • When the game ends the score is displayed (remaining time).

  • User is given the ability to save their initials and their score which is then logged in the High score list until cleared.

console.log has been added throughout the script to ensure that there are no errors within the code. [This can be removed if necessary]


Usage

Code is written to display quiz questions and answers. The questions, multiple choices and the correct answer is stored in an array of objects - this can be changed and updated depending on purpose of use.


The final deployed application should look like this

URL to the deployed Application https://chae-lee.github.io/coding-quiz/

Multiple Quiz Question GIF

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published