Question: Create a function using JavaScript that calculates the area of a triangle. *b*h The function should be called from the onclick event of the Calculate
Create a function using JavaScript that calculates the area of a triangle.
*b*h
The function should be called from the onclick event of the Calculate Area button
The result should be stored in the text box at the bottom of the form and the result should be displayed in bold.
JavaScript Function should be in an external script file ?

Enter the width and height of your triangle to calculate the area Width (b): Height (h): Calculate area The area is
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
