Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Apr 2016
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Simple Quiz using Java script

    Hey really need help here creating a simple quiz using java script. The user of the web page should input the following values:
    The answer for question 1
    The answer for question 2
    The answer for question 3
    At this point, the user should click a button and get the result specified below.
    When the user clicks the button specified above, the web page should output the percentage of questions the user got correct (their grade) and whether or not they did a good job on the quiz (we'll say they did a good job if they got 2 or more questions correct, and did not do a good job otherwise)

    Hope someone can help me out!

  2. #2
    New Coder
    Join Date
    Feb 2016
    Posts
    80
    Thanks
    0
    Thanked 16 Times in 16 Posts
    This seems to be a common question.
    Some time ago a coded a similar thing:
    Edit fiddle - JSFiddle
    Not exactly what you need but maybe you can adapt it. If you don't succeed come back.

  3. #3
    Master Coder sunfighter's Avatar
    Join Date
    Jan 2011
    Location
    Washington
    Posts
    6,251
    Thanks
    30
    Thanked 859 Times in 857 Posts
    Or use the search located at the top right and get thousands of answers.
    Evolution - The non-random survival of random variants.
    Physics is actually atoms trying to understand themselves.


 

Tags for this Thread

Posting Permissions

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