+ 2
When "Play again" is pressed after quiz completion the questions are not visible but the timer starts. How can I fix this issue?
4 ответов
+ 4
The showScore() function sets both questionBox and choiceBox style.dipslay to none (lines 114, 115).
What do you need to do to get them to display when the "Play Again" button is clicked?
+ 1
did you define the function to be called when the Next button becomes the Play Again button? You have one button executing different things in your program, which makes it hard to organize.
+ 1
Nandini Prajapati
here is a simplified version of your game.
https://code.sololearn.com/WIBQ1dv48f94/?ref=app
0
I want the quiz to restart when the play again button is pressed, it does Start but the questions are not visible