Analysis Quiz
Step One - Set up the questions for your quiz using either the Analysis Quiz Maker or Alternate Analysis Quiz Maker instructions.
Step Two - select the JavaScript in the following textarea and save it as quizresh.js.
Step Three - add the following code immediately before the </head> tag in the page where you want the quiz displayed.
Step Four - define the results to be displayed for each percentage range. The following form allows you to have up to four different results that will be selected to be displayed based on the percentage value obtained from the quiz.
All that you need to do is to enter the possible results and the boundary conditions that separate them into the form below.
If you know HTML then you can use that to format your results. If you don't know HTML then you can enter your results in plain text and the form will attempt to format it for you.
Step Five - save the content of the above form as quizresb.js and then attach this script into the body of your answer page where you want the quiz result to appear using:
Related Articles
- Image Gallery
- Calendar Buttons
- JavaScript Functions
- Keeping Entered Values when Reporting an Error
- What is Javascript?



