Skip to content

A JavaScript quiz about JavaScript! Wrong answers take time off the clock. Can you get your initials on the leaderboard? Local Storage is used to save scores.

Notifications You must be signed in to change notification settings

Tianwes/Timed-JavaScript-Quiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timed-Javascript-Quiz

This is an application using web APIs accessed with Javascript to run a quiz asking a player questions about Javascript.

How it should run

When the "start" button is pressed :

  • A card should appear with a Javascript trivia question
  • a 60 second timer will start counting down
  • if the question is answered correctly
    • the next question will appear
  • if the question is answered incorrectly
    • 10 seconds will be deducted from the time
    • then the next question will appear
  • If all the questions are answered within the given time limit
  • user's time (score) will be display and user will be asked to input their initials to be saved to the scoreboard
  • when the user hits "submit-score" button
  • if their score falls in the range of the top 10 scores, their initials and score will be displayed
  • If time runs out before all questions are answered, user will be taken to a "Time's Up" landing page where they can refresh the page to replay the game

Javascript, HTML, and CSS have been used


2021-01-13

2021-01-13 (1)

2021-01-13 (3)

2021-01-13 (4)

2021-01-13 (5)


Deployed application link

https://tianwes.github.io/Timed-JavaScript-Quiz/

GitHub Repository URL

https://github.com/Tianwes/Timed-JavaScript-Quiz


Creator's Contact Information

Tiffany Weaver


License

The MIT License (MIT)

Copyright (c) 2015 Chris Kibble

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.

About

A JavaScript quiz about JavaScript! Wrong answers take time off the clock. Can you get your initials on the leaderboard? Local Storage is used to save scores.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published