Skip to content

Feature :In Pop Quiz part of ROM-based µcontrollers page under Sequential LSI #740

@ManshaAgarwal716

Description

@ManshaAgarwal716

Is your feature request related to a problem? Please describe

On the ROM-based microcontroller quiz page, when a user selects an option, it correctly turns red (wrong) or green (correct).
However, the quiz has two major issues:

Users can continue clicking other options even after selecting an answer.
Each click changes the button state, so multiple options can appear red/green one after another.

When a wrong answer is selected, the quiz does not automatically highlight the correct option in green.
This makes it unclear what the right answer actually is.

--Expected Behaviour
After the user selects an answer:
Only one option should be marked (red for wrong or green for correct).
All other options should become disabled.
If the selected answer is wrong:
The correct answer should automatically be highlighted in green.

--Actual Behaviour
User can keep selecting different answers even after the first click.
No lockout mechanism after answering.
When a wrong answer is chosen, the correct answer is not shown automatically.
UI becomes confusing because multiple buttons can be clicked and re-colored.

--Impact
Poor quiz experience and unclear feedback to users.
Users cannot tell which option is the correct one after making a mistake.
Makes the interactive book feel inconsistent with typical MCQ quiz behaviour.

Image

Describe the solution you'd like

--Disable all answer buttons immediately after the first click.
--Apply appropriate styling:
Selected option → red or green
Correct option → green (always shown, even after wrong selection)

Describe alternatives you've considered

Optionally add a “Try Again” or “Reset Question” button.

Additional context

No response

Are you working on this?

Yes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions