-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtestbutton.html
More file actions
40 lines (27 loc) · 815 Bytes
/
testbutton.html
File metadata and controls
40 lines (27 loc) · 815 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html>
<head>
<script src="https://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js" type="text/javascript"></script>
<script src="testbutton.js" type="text/javascript"></script>
</head>
<body>
<h1>Triangle Tester</h1>
<p> Please input the length(integer) of the first side of the triangle: </p>
<input type="text" id="side1">
<p> Please input the length(integer) of the second side of the triangle: </p>
<input type="text" id="side2">
<p> Please input the length(integer) of the third side of the triangle: </p>
<input type="text" id="side3">
<br>
<br>
<span id="result"></span>
<br>
<span id="result2"></span>
<br>
<br>
<div id = "showAllArea">
<button id ="showAllButton">Show all test options</button>
<br>
</div>
</body>
</html>