Calculate Area of a Triangle in JavaScript1 min read

In this article, we will create the application that calculates the area of ​​the triangle on the screen by using these values, which are requested and graded by the user with the base area and height.

To write our code, we create an empty text file and write the following code.

Then we change the txt extension of our text file to html and run it.

Leave a Comment