Skip to content

09.5 - Answer Input: Buttons (Correct / Wrong) + Next Card #27

Description

@uxbyweng

Value proposition

As a user
I want to mark my answer "Answered correctly" and "Incorrect answer"
so that I can complete the quiz and get results.

Description

Add buttons to mark the current card as correct/wrong and advance to the next card. This is the MVP input method (before swipe).

Acceptance criteria

  • Buttons "Answered correctly" and "Incorrect answer" exist in running mode.
  • Marking is only possible when the card is flipped to the answer side (clear rule).
  • Clicking “Correct”:
    • increments correctCount
    • advances to next card
  • Clicking “Wrong”:
    • increments wrongCount
    • advances to next card
  • After the last card, quiz ends (status=finished).

Tasks

  • Create a feature branch feature/quiz-answer-buttons.
  • Add buttons UI + disabled state until answer is visible.
  • Implement state transitions (increment + next).
  • Ensure flip resets on next card.
  • Ensure flip resets on next card.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions