This is revised. Try the quiz and see what happens. Then view the source.
Try to create a quiz related to your hobby site. The quiz would be multiple choice. Try to come up with at least five questions. The quiz needs to be enclosed in <form> and </form> tags.
Overall, it might look like this (you can use View/Source to see the code):
To grade the quiz, you need to have the button call a Javascript function, such as
"onClick = (gradequiz(this.form));"
To make sure this function is called correctly, have it write to the textarea. If the name of the textarea is "grade" then you want to have
When this is working, you need to expand the function to read the boxes that the user checks and to compare them with the correct answers. To set up an array of correct answers, you do the following: