The project is a quiz about JavaScript fundamentals. When start button is hit, the timer and question appears. The user will be prompt with a question and options and has 75 seconds to complete. If user selects correct answer, the correct answer will highlight green. If user selects wrong answer, the correct answer will hightlight green, wrong answer will highlight red, and timer will be reduced by 10seconds. If user runs out of time, the quiz ends. Note User must select next button to move to next question. Time will continue to go down. When quiz is over, the user can either add their initials to be saved or restart the quiz. Once saved, the leaderboard will display. The user may decide to clear the scores or go back home.
I learned how to create eventlisteners, use local storage, and web APIs to create this project.
AS A coding boot camp student
I WANT to take a timed quiz on JavaScript fundamentals that stores high scores
SO THAT I can gauge my progress compared to my peers
GIVEN I am taking a code quiz
WHEN I click the start button
THEN a timer starts and I am presented with a question
WHEN I answer a question
THEN I am presented with another question
WHEN I answer a question incorrectly
THEN time is subtracted from the clock
WHEN all questions are answered or the timer reaches 0
THEN the game is over
WHEN the game is over
THEN I can save my initials and score
N/A
This is a website that is a quiz for JavaScript fundamentals.
N/A
Please refer to the LICENSE in the repo.