+ 1

Help me debug

Help I want to redo quiz when I click 'play again'. https://sololearn.com/compiler-playground/WKkrNN1klbYs/?ref=app

1st Jun 2025, 9:55 AM
whirl coder ☕
whirl coder ☕ - avatar
3 odpowiedzi
+ 4
Could you make the button call the quiz again as a function?
1st Jun 2025, 7:14 PM
Ausgrindtube
Ausgrindtube - avatar
+ 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.
2nd Jun 2025, 5:15 AM
Ushasi Bhattacharya