Share your repls and programming experiences

← Back to all posts
Basic Customisable Quiz Template

This is a Quiz

Except it isn't really meant as the quiz it is, it is a template for a quiz that can be optimised in multiple ways. Another version is coming very shortly that has more options for customisation. There is a basic quiz procedure and an array of objects containing the information for each question (in order). Feel absolutely free to fork this and make a decent quiz (this one is just an example). If you do, make sure you tag me on it so I can check it out!

The explanation:

Each object in the quiz_info array contains two keys: "question" and "answer". Their values must be strings.