Results 1 to 6 of 6

Thread: Making a Quiz

  1. #1

    Making a Quiz


    Hmm,
    I want to make one of those JavaScript Quizzes where each answer is awarded a value and based on how many points you accumulate you'll get various results. Like, those "What FF character are you?" Quizzes. I'm not sure how to go about it, since I'm not much of a Java person. *clings to HTML*
    If anyone has an tips on how to go about it, or an easier way to do it, I'd love some help! Thanks!



    "Love is the triumph of Imagination over Intelligence."

  2. #2
    ORANGE Dr Unne's Avatar
    Join Date
    Dec 1999
    Posts
    7,394
    Articles
    1
    Contributions
    • Former Administrator
    • Former Developer
    • Former Tech Admin

    Default

    You can download the code for it from some places. Like http://www.tesol.net/scripts/ A billion other places too.

  3. #3
    Hypnotising you crono_logical's Avatar
    Join Date
    May 2001
    Location
    Back in Time
    Posts
    9,313
    Contributions
    • Former Administrator
    • Former Cid's Knight

    Default

    Well, Javascript would be easier than Java, yes

    I guess all that happens is when the submit button is pressed, Javascript scans over all the selected buttons and adds a score depending on which button is pressed, then depending on the result, it takes you to a different page. I don't think muich else needs to be done really. I guess you could always try looking at the source code for some of those pages and see how it works
    Problems playing downloaded videos? Try CCCP


  4. #4
    ORANGE Dr Unne's Avatar
    Join Date
    Dec 1999
    Posts
    7,394
    Articles
    1
    Contributions
    • Former Administrator
    • Former Developer
    • Former Tech Admin

    Default

    It'd probably be really easy to write in Perl too, if you know Perl. Downloading a pre-written one is probably best unless you know a programming language and have a lot of time to sit around and write a program for it.

  5. #5

    Default

    Originally posted by crono_logical
    Well, Javascript would be easier than Java, yes

    I guess you could always try looking at the source code for some of those pages and see how it works
    Actually, I look at the source codes quite often Crono, but like I said I'm not familar with Java or Javascript, at least not as much as I should be.
    Thanks for the tip though.



    "Love is the triumph of Imagination over Intelligence."

  6. #6
    Got obliterated Recognized Member Shoeberto's Avatar
    Join Date
    Jun 2000
    Location
    THE OC BABY
    Posts
    12,018
    Blog Entries
    1
    Contributions
    • Former Cid's Knight

    Default

    <font color="#009999">
    If you want to learn Javascript, I'd recommend checking out <a href="http://www.webmonkey.com">Webmonkey.</a> They have a good step-by-step tutorial to learning Javascript. It'll take a while to learn, but they have some things you could just copy and paste on it, too.


Posting Permissions

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