Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
Results 1 to 3 of 3
Thread: Simple Quiz using Java script
-
04-10-2016, 07:08 PM #1New 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!
-
04-10-2016, 08:57 PM #2New 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.
-
04-11-2016, 02:24 AM #3Master Coder
- 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.



Reply With Quote
