commitra/react-verse

Trivia.jsx : Add “Next Question” Button Navigation

Aberta

#114 aberto em 23 de out. de 2025

 (2 comentários) (0 reação) (1 responsável)JavaScript (34 forks)auto 404
good first commitgood first issuehacktoberfest

Métricas do repositório

Stars
 (8 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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.

Guia do colaborador