This is a JavaScript calculator that calculates the area of a triangle.

Type in the below fields the lengths of the triangle’s base and height then click the Calculate Triangle’s Area button. An alert window will pop-up displaying the value of the triangle’s area in square units.