Question: 1) Based on the following HTML: This is the content Write a JavaScript function that reads the contents from the above element and outputs the
1) Based on the following HTML:
This is the content
Write a JavaScript function that reads the contents from the above element and outputs the contents into the browser's web development console using the console.log statement.
---------------------------------------------------------
2) Read the following problem:
You order some groceries online and buy 5 things:
Yellow Corn Tortillas $3.32
Cheddar Cheese $5.89
Avocados $4.41
Cilantro $0.99
Jalapeno pepper $0.39
The website calculates the price and it is displayed as the "Subtotal".
The website calculates the about of sales tax (tax rate is 11% ) and it is displayed as the "Sales tax".
The overall price is calculated and it is displayed as the "Total price".
Based on your understanding of the "Input - Process - Output" model:
Describe what part of the above problem is the Input.
Describe what part of the above problem is the Process.
Describe what part of the above problem is the Output.
Just identify the Input, the Process, and the Output.
Do NOT write any JavaScript for this question!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
