...

View Full Version : Making quiz with JavaScript!



Dji
12-17-2011, 08:34 AM
Hi! I need to make my own web page with quiz on it! Something like this
http://www.javascriptkit.com/script/popquiz.htm

The main problem - how to calculate scores? I need to make, for example, pop up box that shows, how many answers are right/wrong. What should I use for that?

Fou-Lu
12-17-2011, 09:00 AM
Despite the similar sounding names, Java is not the same as Javascript.
Moving from Java forum to Javascript forum.

cuzMazn
12-17-2011, 09:12 AM
Hi! I need to make my own web page with quiz on it! Something like this
http://www.javascriptkit.com/script/popquiz.htm

The main problem - how to calculate scores? I need to make, for example, pop up box that shows, how many answers are right/wrong. What should I use for that?

Hi there,

If you need codes to calculate scores, at least tell us how you want the score to be calculated.

Tim_

Philip M
12-17-2011, 09:16 AM
Try using the search feature of this forum. You will find several quizzes.

Example:- http://www.codingforums.com/showthread.php?t=237487

All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.

Dji
12-17-2011, 03:11 PM
Try using the search feature of this forum. You will find several quizzes.

Example:- http://www.codingforums.com/showthread.php?t=237487

All advice is supplied packaged by intellectual weight, and not by volume. Contents may settle slightly in transit.

Thank you for advice, but I have read so many topics and they doesn't seem to help. Usually there are codes without explanations. Can someone just explain me what should I use/make/write there?

Philip M
12-17-2011, 03:23 PM
Thank you for advice, but I have read so many topics and they doesn't seem to help. Usually there are codes without explanations. Can someone just explain me what should I use/make/write there?

I think that the best advice would be to learn Javascript (which is a totally different language to Java). Then you would be able to understand the code, and adapt the many examples to your specific needs.

What is wrong with the javascriptkit example you quoted?

Dji
12-17-2011, 03:55 PM
I think that the best advice would be to learn Javascript (which is a totally different language to Java). Then you would be able to understand the code, and adapt the many examples to your specific needs.

What is wrong with the javascriptkit example you quoted?

Yes I know and i would love to learn how to use JavaScript, but I need that quiz at the beginning of next week, so I don't think that I could acquire it all so quickly.
About my example - yes, i can try to change questions and answers, but I guess there is no point doing that, if I don't understand the whole process.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum