A Little Math Quiz in JavaScript


Overview: In this exercise you will customize a JavaScript math quiz. Click the plus sign graphic and/or the PROBLEM button to see what the JavaScript functions do, then make some changes in the JavaScript (different limits for the random numbers, multiplication instead of addition, etc.)

In the HTML code for this page, you will find two JavaScript functions that do the following (see JSMathDrill.doc for more details):
Click on the plus sign graphic and/or the PROBLEM button to start getNum() (and see one problem).

plus sign