Question: Create a web application in HTML & JavaScript that contains an updated math quiz. Include the following: The quiz should implement the addEventListener method of
Create a web application in HTML & JavaScript that contains an updated "math quiz". Include the following:
- The quiz should implement the addEventListener method of responding to events.
- Questions should change when the page is refreshed
- Questions could be generated using the Math.random() function.
- Questions could be generated from an array of questions.
- Answers to quiz questions should be checked as right or wrong.
- A running score should be kept of the questions answered correctly/incorrectly and displayed within the web page.
- If users type in non-numerical input they should be prompted to try again.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
