A JavaScript Quiz Manager

Like the earlier examples, this shows you how to add existing an JavaScript utility to your pages. The program being demonstrated here is a simple multiple choice quiz management system that I wrote as an example of best practice object-oriented JavaScript . You can try out the system for yourself here...

There are a number of components to the system:

In addition, you need to provide two html pages:

The quiz and answers are added to the pages by calls to JavaScript code. The pages themselves can have any content you wish surrounding the quiz elements and you can alter the rules in the stylesheet to customize the visual appearance of the quiz to better fit with your pages. You can also replace the two images with your own if you want to.

You can find details of setting up and using the system here...

You can find some discussion of how the JavaScript works here...