The JavaScript code in index.js is unfinished. You will need to study it to figure out what it does. Then you will need to use the existing code and your own, to finish the app.
Complete the following tasks:
-
Calculate the score as the total of the number of correct answers
-
Add an Event listener for the submit button, which will display the score and highlight the correct answers when the button is clicked
-
Reset the page (remove the questions from the UI) when the reset button is clicked (hint: search window.location)
-
Add a countdown timer - when the time is up, end the quiz, display the score and highlight the correct answers
When you have finished, upload your work to GitHub and share the link on Canvas