JavaScript Quiz 2 | JavaScriptSource

JavaScript Quiz 2

Kamran Riaz May 10, 2004
A simple and effective JavaScript quiz that calculates and displays detailed results. In this example, two questions are asked but users may add as many questions as they like.

See Live Example

The JavaScript Source: Math Related: JavaScript Quiz

Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Command-s). The script is yours!!!


Did you use this script?  Do you like this site?  Please link to us!

Leave a Response


You develop code in Javascript. The code calls a function named fn1 Sometimes fn1 throws a RangeError error or a SyntaxError error You need to create code to meet the following requirements: Catch the error. Call the catchRangeError function if the RangeError is thrown. Call the cathSyntaxError function if SyntaxError is Thrown. Develop the solution by selecting and arranging the required code block in the correct order

Mbusi Feb 14, 2017

Hi,[br /][br /]Im facing a problem and id like to see if you could help me. I need to add a email request before the quiz so when someone takes the quiz id receive their email and their result. is that possible?[br /]thanks a lot for your time!

maggie Apr 4, 2009