First create an empty array in a new JSON file.
[]
Then add an object, with three properties:
[
{
title:"What is in my pocket?",
answers:[],
correct:2
}
]
Then populte the answers
array with the four answer options you want!
answers:[
"Handses",
"Knife",
"String or Nothing",
"My Preciousss"
],
Then set the correct
value to the zero-indexed item of answers which is correct!
correct:3
Add more items to the array in this fashion for each question in the Quiz. Minify the array, and you are DONE! Paste it into the quiz play, and try it out! Send your QuizX! code to your friends and let them try it out, see who gets the hightest score!