commitra/react-verse

Trivia.jsx : Add “Next Question” Button Navigation

Aperta

#114 aperta il 23 ott 2025

 (2 commenti) (0 reazioni) (1 assegnatario)JavaScript (34 fork)auto 404
good first commitgood first issuehacktoberfest

Metriche repository

Star
 (8 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor