Question: Create a web page with the following: 1.Simple Calculations as a title 2.Simple Calculations as an h1 heading 3.Then use JavaScript to prompt the user

Create a web page with the following:

1."Simple Calculations" as a title

2."Simple Calculations" as an h1 heading

3.Then use JavaScript to prompt the user to enter two variables and display their sum, difference, product, and average on your page.

-Be sure to display each result in separate paragraphs under your h1 heading.

-The following is an example of the output format you must use for your results:

The sum of 23 and 16 is 39

The difference of 23 and 16 is 7

The product of 23 and 16 is 368

The average of 23 and 16 is 19.5

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 Databases Questions!