commitra/react-verse

Trivia.jsx : Add “Next Question” Button Navigation

开放

#114 创建于 2025年10月23日

 (2 条评论) (0 个反应) (1 位负责人)JavaScript (34 个派生)auto 404
good first commitgood first issuehacktoberfest

仓库指标

星标
 (8 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南