These tutorials use a combination of PHP and JavaScript to allow for the following behavior:
The two main reasons that it's set up this way are:
Unfortunately, this makes it easy for the quiz to break, resulting in a blank page. For example, if there is a double quote where there shouldn't be one, this breaks the entire page.
What follows are some tips, meant for my own use, to reduce the frequency of these tutorial pages breaking.