Skip to content

jesseodonoghue/quiz-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Quiz Game

This app required me to create a timed quiz game powered completely by JavaScript with high score data being stored locally.

App Breakdown

The quiz consists of an array of 10 question objects, each with 3 incorrect answers and 1 correct answer. The HTML elements are hidden and shown in logical order based on button clicks. The timer is intialized once the Start button is clicked, and 5 seconds is subtracted for each incorrect answer. If the question bank is depleted or the timer reaches 0, the current score is dislpayed. The user will be given a chance to enter their initials. When the user submits their initials, a high score table is displayed showing all of the local high scores. The user then has the option to clear the local high scores or restart the quiz.

app-screen

Live Link

A link to the live version of this app can be found below. JavaScript Quiz Game

License Info

Copyright 2020, Jesse O'Donoghue

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

References & Resources

CSS Tricks

W3Schools

MDN Web Docs

Web Dev Simplified

Also a big thank you to all of my instructors and classmates whose advice and assistance made this project what it is!

About

A quiz game made with JavaScript!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published