Contribute
Ready to add a quiz of your own?
In order to contribute, please follow the steps below.
- Gather your questions and a nice thumbnail for your quiz. Quizzes questions must all be of the same type, either image-based or text-based.
- Create a JSON file for all questions in the quizzd question format (image example, text example).
- Update quiz options to your liking, by setting the options to
trueorfalse. - Name your JSON file with a unique key (no spaces or special characters). For
example, if your key is
best-quiz-ever, then you should name your JSON file,quiz-best-quiz-ever - Go to the
index.htmlfile in the project's root directory. Add anotherli.quizzes__quizelement following the established structure. Don't forget to update the image source to that of your thumbnail (which can be added to theimages/quiz-thumbailsdirectory). - Update the
data-quiz-idattribute with the unique key for your quiz. - Complete the pull request.
That's all there is to it. Happy creating!