You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The handleAnswer function is wrong working on the quiz page
The Score increases again when you click too much on the correct answer
I just clicked correct answers and I got this
I did the following to solve the problem
In this code, I added a condition to the function's currentQuestionIndex >= score, which helped me count the score. If the question index is large or equal to the score, the score count increases to one.
May its helpful :)
The text was updated successfully, but these errors were encountered:
The handleAnswer function is wrong working on the quiz page
The Score increases again when you click too much on the correct answer
I just clicked correct answers and I got this
I did the following to solve the problem
In this code, I added a condition to the function's
currentQuestionIndex >= score
, which helped me count the score. If the question index is large or equal to the score, the score count increases to one.May its helpful :)
The text was updated successfully, but these errors were encountered: