The purpose of this project is to build a minimalist version of questionnaire application.
At the same time, to structure it to ease futher refactoring and adding more features and decorations.
Versions
Start with quiz-2 ( minimal );
quiz-draft-0 This application is about done, but is overengineered.
To retrieve the answer from GUI, $ ... index ... :checked is used, which feels clumsy for JS solution.
Table html-element must be stripped, because this is a demo of concept.
Files like conf.js must be stripped, to make demo short.
Global style must be stripped.
quiz-1 Much simpler, but not enough. No CSS. Only 3 js files.
quiz-2 Possibly minimal solution.
Files:
init.js, loads data, schedules execution;
gui.js, ( aka GUI )
run.js ( aka controller or scenario )
Only radio buttons, questions are loaded from json.