Create the home page along with a good chunk of the necessary CSS.
I encourage you all to take a look at Emmet snippets for generating HTML and CSS.
Resources
Create the Game Page and display static question and answer information.
Load questions from a hard coded array and iterate through available questions as the use answers them.
Resources
- Creating Code Snippets in Visual Studio Code
- Using Data Attributes
- Document Query Selector
- Document Get by ID
- Spread Operator
- Arrow Functions
Check the user's answer for correctness and display feedback to the user before loading the next question.
Resources
Create a Heads Up Display (HUD) for our quiz app. This will display the user's score and current question number.
Resources
Create our End page where we will display the user's achieved score. This screen will provide a form for saving the score and links for playing again or going home.
Save and maintain a high scores array in Local Storage. To do this, we will need to use JSON.stringify() and JSON.parse() to convert our high score array to a string and visa versa.
Resources
Create our High Scores page. We will have to load the high scores from Local Storage, iterate through them, and display them on the screen.
Resources
Move our sample questions from a hard coded array to an external .json file.