+ 1
Help me debug
Help I want to redo quiz when I click 'play again'. https://sololearn.com/compiler-playground/WKkrNN1klbYs/?ref=app
3 Answers
+ 4
Could you make the button call the quiz again as a function?
+ 2
On clicking, "Play Again", try calling the startQuiz() function to reset everything and start fresh.
You can take a look at this:
https://sololearn.com/compiler-playground/WDD9aasimfKt/?ref=app
Please let me know if this is your desired output.