SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    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


  2. #2
    Gre aus'm Pott gold trophysilver trophybronze trophy
    Pullo's Avatar
    Join Date
    Jun 2007
    219 Post(s)
    12 Thread(s)
    Hi there,

    You might want to check this out:
    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):
    Github repo:
    WP plugin:


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts