Looking to build a JS or jQuery quiz

I am looking to build a quiz like the one used for quizpoint.

So far i have an associative array
var quiz = new array(array(“Question 1”, “Answer 1”),array(“Question 2”, “Answer 2”));
And so on.

A random question will be asked and its answer displayed among 3 other randomly selected answers.
After going through 10 or 20 questions the results are shown i.e. 18/20 along with the questions and correct answers showing the user which they got right or wrong.

Any help how to make it or if you know a site that does it for you would be great


Hi there,

You might want to check this out: http://stackoverflow.com/questions/4464406/creating-a-quiz-with-jquery
If you look at the link in what is currently the top answer, the person who answered the question has made a good demo site, which does exactly what you want.
If I were you, I’d pull his page apart, check out the source code and see what he has done.

You might also like Slick quiz, which is a jQuery plugin for “creating pretty, dynamic quizzes”.
Homepage (with demo): http://www.jewlofthelotus.com/2011/12/23/slickquiz-jquery-plugin-now-on-github/
Github repo: https://github.com/jewlofthelotus/SlickQuiz
WP plugin: http://wordpress.org/extend/plugins/slickquiz/