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.

貢獻者指南