Skip to content

Instantly share code, notes, and snippets.

@danielborowski
Last active March 27, 2026 13:27
Show Gist options
  • Select an option

  • Save danielborowski/60c72adc2a0acb05bfdebc24b6003aa8 to your computer and use it in GitHub Desktop.

Select an option

Save danielborowski/60c72adc2a0acb05bfdebc24b6003aa8 to your computer and use it in GitHub Desktop.
Multiple choice question set example
{
"mc_questions": [
{
"question": "hello world",
"shortAnswer": true,
"answers": [
"I am correct",
"Wrong 2",
"Wrong 3"
]
},
{
"question": "hello coderbyte",
"answers": [
"I am correct",
"Wrong 2",
"Will be correct",
"Will be correct"
],
"correctAnswers": ["2", "3"],
"allRequired": true
},
{
"question": "hello coderbyte",
"lockedAnswers": true,
"answers": [
"I am correct",
"Wrong 2",
"Wrong 3"
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment