1. Home
  2. Computing & Technology
  3. JavaScript

Multiple Choice Example Quiz

This above is an example of a quiz created using my multiple choice quiz maker. Each quiz can have up to 100 questions displayed either individually or in pairs on the page. Each question can have up to six different answers. The script keeps track of the number of questions where the correct answer is selected and displays the result at the end of the quiz.

In order to function the quiz requires that you attach two Javascripts and a stylesheet into the head of your web page and place one or two divs within the body of your page where you want the quiz questions to appear. One Javascript is generated using the quiz generator and contains your questions and answers with the correct answer being encrypted to help prevent cheating. The second Javascript provides all of the functionality and is just plugged straight in. The stylesheet can be easily customised to change the appearance of your quiz. You can even place other content between the two divs if you wish.

Create your own multiple choice quiz to add to your site.

Explore JavaScript
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. JavaScript

©2009 About.com, a part of The New York Times Company.

All rights reserved.