Skip to content

SixFourDev/javascript-code-quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Javascript Code Quiz

Description

My motivation on building this webpage was to use the skills we learned this week in class, and create a Javascript Code Quiz using Javascript. The reason building this webpage was to allow users visit, and play a five question multiple choice quiz on questions pertaining to Javascript. I've set all my needed variables at the top of the script, created a questions variable and wrapped 5 objects in that array, created a for loop to go through each question, and created a leaderboard for players to post their high score with their initials using the localStorage.

Usage

This webpage was created to quiz bootcamp students on some questions pertaining to Javascript. Players simply visit the page, and can click the "Start Quiz" button. Players will have 75 seconds to answer all multiple choice questions, and will be notified after each question if they got it "Correct" or "Wrong", however if they get an answer wrong 10 seconds will be deducted from the time and minus 1 from their score. I couldn't get my "Enter Initials" and "Leaderboards" pages to load, so I just included a prompt/alert so scores get loaded. If you open up DevTools, and click the Applications tab you can see the highscores get listed.

Screen Shot 2023-04-26 at 2 53 32 PM

Screen Shot 2023-04-26 at 9 57 06 AM

Screen Shot 2023-04-26 at 9 57 12 AM

Screen Shot 2023-04-26 at 9 57 17 AM

Screen Shot 2023-04-27 at 9 23 39 AM

https://sixfourdev.github.io/javascript-code-quiz/

Credits

Shane Browning - github.com/SixFourDev

License

MIT License

About

Web APIs Challenge : Code Quiz

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published