Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started