quiz.pl is a script that processes a file in a simple format to
produce a quiz that uses an HTML form to accept the user input, and
JavaScript to process the input. With JavaScript, the quiz is scored
and text is presented that depends upon whether each question was
correctly answered. If the user's browser doesn't support JavaScript,
the quiz is still presented, but the output is static.
The purpose of the quiz you are taking now is to describe how to code
the quiz source that, once processed by this script, generates two
HTML files that implement the quiz: the file used for user input, and
the file used to score the quiz.
Learn to write you own quiz by reading this text, reading the source
for this quiz (which is called quiz.quiz), and perhaps by
reading the Perl source for the quiz generating software, which,
again, is called quiz.pl.
Right now, you are reading the contents of the quiz header. The quiz
header is text that is presented before any questions are asked. This
section is introduced by a token that reads >>QUIZ-HEAD and is followed
by one or more lines of text.
This is the quiz footer, mentioned above. When you press the submit button,
above, you'll see the results page.