GetSimple Support Forum

Full Version: Crfeating a simple interactive quiz
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I would like to create a simple quiz. Question style could be multi-choice, true false, write a word. There would be a submit button at the end.
There are many plug-ins on the site - would any of them be helpful?
Created my first draft. This link http://www.javascriptsource.com/miscella...-quiz.html provided a basic 5 question quiz which computes a score and provides an explanation for wrong answers. The javascript instructions include a section to be added to the page header. Instead I copied out the script portion as quiz1.js and and uploaded it to a /js folder in my uploads folder. Then in the template.php of the theme I added
<?php if(return_page_slug()=='quiz1' ){ ?>
<script type="text/javascript" src="whatever.com/gs/data/uploads/js/quiz1.js"></script>
<?php } ?>
Apache Bench mark showed the page was loaded over 120 times a second on a Raspberry Pi3.