Skip to content

Bug : The correct answer is not visually highlighted when a user selects the wrong answer in the quiz game. #25

Description

@aialok

Issue Summary:

  • 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already existsgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions