Question: JavaScript Can someone help write a JavaScript file for the attachement below. 1.The JavaScript file should contain at least three variables length1, length2 and length3
JavaScript
Can someone help write a JavaScript file for the attachement below.
1.The JavaScript file should contain at least three variables length1, length2 and length3 and assign values to them.
2. The html file has spaces for you to enter areas of specific shapes (via your JavaScript). All these areas need to be calculated from the three variables defined in item 1 above. Make sure your math is correct in calculating areas.Values need to be filled for ids: classname, triangle, circle, rectangle, and totalarea which display the total area of the three shapes.

Coding of the html file. You cannot change anything to the supplied html that I given below.
JavaScript & jQuery - Chapter 2: Homework Assignment Shapes
Hi!Submit Now
Class name: Area of the Triangle: Area of the Circle: 0 Area of the rectangle: 0 Grand total area of all the shapes: 0
Shapes Hi! Class name Area of the Triangle: Area of the Circle: Area of the rectangle: Grand total area of all the shapes: 0 Submit Now
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
