Skip to content
Created this quiz to better my understanding of JavaScript.
HTML JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
disappointed.gif
fantastic.gif
index.html
main.js
ok.gif
styles.css

README.md

state-capital-quiz

Created this quiz to better my understanding of JavaScript. View site here: https://dayrentolliver.com/state-capital-quiz/

Author(s):

Dayren Tolliver

Technologies:

  • HTML
  • JavaScript

How it works:

  1. Open the USA Capital Quiz: https://dayrentolliver.com/state-capital-quiz/
  2. Make a capital selection for each state
  3. Press the 'View my results!' button

Things I learned:

  • DOM Manipulation
  • How to mark an answer as correct
  • How to keep a score total
  • How to dispaly a message and gif based on how well the user did

Future Features

  • Add all 50 states and have them randomized so that quiz is different each time it's taken
  • Require all questions to be answered before submitting
  • Place the score in gif in a modal
  • List correct/incorrect answers
You can’t perform that action at this time.