Results 1 to 2 of 2
Jan 7, 2013, 13:13 #1
- Join Date
- Jun 2011
- 0 Post(s)
- 0 Thread(s)
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
Jan 7, 2013, 14:07 #2
- Join Date
- Jun 2007
- 178 Post(s)
- 9 Thread(s)
You might want to check this out: http://stackoverflow.com/questions/4...iz-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/1...now-on-github/
Github repo: https://github.com/jewlofthelotus/SlickQuiz
WP plugin: http://wordpress.org/extend/plugins/slickquiz/