The quiz data must be a JSON object with the following structure:
{
"title": "Optional Quiz Title (String)",
"questions": [
{
"question": "Question text (String, required)",
"options": ["Option A", "Option B", "Option C"],
"correctAnswer": "Option B", // String OR Array of strings
"explanation": "Optional explanation text (String)"
}
]
}
Question X of Y
| Key | Action |
|---|---|
| Number keys (1-9) | Select corresponding answer option (if not answered) |
| ArrowUp / ArrowDown | Navigate focus between answer options |
| Space / Enter | Select focused option (if not answered) |
| Space / Enter | Trigger "Next Question" (if answered) |
You got X out of Y correct this round (Z%).
Your score: X/Y (Z%)