Question: Computers are playing an important role in education. Write a program ( in JavaScript ) that will help an elementary school pupil learn multiplication. Use

Computers are playing an important role in education. Write a program (in JavaScript) that will help an elementary school pupil learn multiplication. Use Math.random() to produce two positive one-digit integer 9(excluding 0 as small children do not have a good understanding of zero value). It should display the question such as: How much is 6 multiplies 7? Then the pupil types the answer into a text box and presses the submit (My Answer) button. Your program should check the pupils answer. If it is correct, then display Perfect! in a pop-up window. If the answer is wrong, display Wrong answer. in a pop-up window. You should provide the pupil with a button to clear the text box if he/she wants to retype the answer, and a button for generating another new question. A screen output may look like the following screen. You are encouraged to design a better interface to make it more interesting and user-friendly for children to use.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!