Taken inspiration from https://github.com/karanveerm/quizgen
This script produces a standalone html quiz given a quiz json
git clone https://github.com/ghandic/quizgen.git
cd quizgen
pip install -r requirements.txt
python quizgen.py -i <PATH-TO-QUIZ-JSON>