The code below should be placed between the <body> and </body> tags where you want the form to appear.
Answer the questions and submit:
More questions may be added to the quiz by adding them to the HTML file and adding the additional answers in the script file. For example, to add question 6 you could add the following to the HTML code:
<label for="qu_6">6. What is my favorite color? (a) Red (b) Green (c) Blue (d) Orange</label><br />
<input type="text" name="qu_6" id="qu_6" /><br />
and add the following to the JavaScript code (in the sgames001.js file):
q_answers[5] = "c"; // Answer for Question 6
Note that the array index number is one less than the question number.