javascript find area of triangle

Solutions on MaxInterview for javascript find area of triangle by the best coders in the world

showing results for - "javascript find area of triangle"
Alex
01 May 2020
1<!DOCTYPE html>
2<html>
3
4
5<head>
6<title>HTML5 template</title>
7 <link rel="stylesheet" type="text/css" href="homework14.css">
8
9</head>
10
11
12
13<body>
14<header>Homework 14</header>
15
16<div id="table1">
17
18<div id="table2">
19
20<div id="table3">
21
22<div id="triangle">
23<img src="triangle.gif">
24</div>
25
26<div id="table4">
27
28<form>
29  <label for="width">Width (b):</label>
30  <input type="text" id="width" name="width">
31  <label for="height">Height (h):</label>
32  <input type="text" id="height" name="height">
33</form>
34Enter the width and height of your triangle to calculate the area
35
36
37<input type="button" value="Calculate area">
38</div>
39
40
41</div>
42
43<hr>
44
45<div id="table5">
46
47<form>
48  <label for="area">The area is:</label>
49  <input type="text" id="area" name="area">
50</form>
51
52</div>
53</div>
54
55</div>
56
57</body>
58
59
60</html>
similar questions
queries leading to this page
javascript find area of triangle