commitra/react-verse

Trivia.jsx : Add “Next Question” Button Navigation

Offen

#114 geöffnet am 23.10.2025

 (2 Kommentare) (0 Reaktionen) (1 zugewiesene Person)JavaScript (34 Forks)auto 404
good first commitgood first issuehacktoberfest

Repository-Metriken

Stars
 (8 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Currently, the quiz displays all questions at once. To improve user experience, we should add a “Next Question” button that allows users to move through questions one by one instead of seeing them all together.

Acceptance Criteria:

Display only one question at a time.

Add a Next Question button that appears after selecting an answer.

Show final results after the last question.

Keep score tracking consistent with the current logic.

Bonus: Add a subtle transition (e.g., fade-in/fade-out) when switching between questions for smoother navigation.

Contributor Guide