Skip to content

Commit 93edff3

Browse files
feat: question choice display
1 parent 5acfdea commit 93edff3

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/components/tutorial-quiz.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,19 @@ export default function TutorialQuiz() {
1515
{/* Question Card */}
1616
<div className="space-y-6">
1717
<div className="bg-amber-200/50 p-6 rounded-lg border border-amber-800/30">
18+
{/* Question */}
1819
<h3 className="text-xl font-semibold text-amber-950 mb-4">
1920
{currentQuestion.questionText}
2021
</h3>
22+
23+
{/* Choices */}
24+
<div className="grid gap-3">
25+
{currentQuestion.options.map((option) => (
26+
<button key={option} className="w-full text-left bg-white p-4 ">
27+
{option}
28+
</button>
29+
))}
30+
</div>
2131
</div>
2232
</div>
2333
</div>

0 commit comments

Comments
 (0)