Last active
April 17, 2018 23:41
-
-
Save ldiebold/6e1cb1d22f2704878241f6ca0afcee4f to your computer and use it in GitHub Desktop.
An example of json data needed for my quiz
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"heading": "example heading", | |
"questions": [ | |
{ | |
"question": "what is 1 + 2?", | |
"choices": [ | |
{ | |
"text": "1", | |
"type": "text", | |
"media": { | |
"type": "video", | |
"URL": "https://www.youtube.com/embed/mg7netw1JuM" | |
}, | |
"correct": true | |
} | |
], | |
"media": { | |
"type": "video", | |
"URL": "https://www.youtube.com/embed/mg7netw1JuM" | |
} | |
} | |
], | |
"complete_heading": "quiz complete!", | |
"complete_body": "You have completed the quiz.", | |
"submit_button_text": "next" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment