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 correct answer is not visually highlighted when a user selects the wrong answer in the quiz game. The desired behavior is to temporarily highlight both the correct and incorrect answers for feedback. The current implementation only highlights the selected (incorrect) answer.
Proposed Solution:
Modify the code to add the "correct" class to the correct answer choice when the user selects an incorrect answer. Remove both "correct" and "incorrect" classes after a delay for a temporary display of the correct answer.