This repository has been archived by the owner on Nov 18, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
81 lines (74 loc) · 3.64 KB
/
index.html
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="main">
<form name="calc" action="">
<table class="tblCalc" cellpadding=0 cellspacing=0>
<tr>
</tr>
<tr>
<td colspan=3 align=middle>
<input id="editWide" name="ReadOut" type="Text"
size=28 value="0" width="250px">
</td>
<td><input name="btnClear" type="Button"
value="C" onclick="ns.Clear()" /></td>
<td><input name="btnClearEntry" type="Button"
value="CE" onclick="ns.ClearEntry()" /></td>
</tr>
<tr>
<td><input name="btnSeven" type="Button"
value="7" onclick="ns.NumPressed(7)"></td>
<td><input name="btnEight" type="Button"
value="8" onclick="ns.NumPressed(8)"></td>
<td><input name="btnNine" type="Button"
value="9" onclick="ns.NumPressed(9)"></td>
<td><input name="btnPlus" type="Button"
value="+" onclick="ns.Operation('+')" /></td>
<td><input name="btnMultiply" type="Button"
value="*" onclick="ns.Operation('*')" /></td>
</tr>
<tr>
<td><input name="btnFour" type="Button"
value="4" onclick="ns.NumPressed(4)"></td>
<td><input name="btnFive" type="Button"
value="5" onclick="ns.NumPressed(5)"></td>
<td><input name="btnSix" type="Button"
value="6" onclick="ns.NumPressed(6)"></td>
<td><input name="btnMinus" type="Button"
value="-" onclick="ns.Operation('-')" /></td>
<td align=middle><input name="btnDivide" type="Button"
value=" / " onclick="ns.Operation('/')" /></td>
</tr>
<tr>
<td><input name="btnOne" type="Button"
value="1" onclick="ns.NumPressed(1)"></td>
<td><input name="btnTwo" type="Button"
value="2" onclick="ns.NumPressed(2)"></td>
<td><input name="btnThree" type="Button"
value="3" onclick="ns.NumPressed(3)"></td>
<td><input name="btnPercent" type="Button"
value="%" onclick="ns.Operation('%')" /></td>
<td><input name="sqrt" type="Button"
value='sqrt()' onclick="ns.Operation('sqrt')" /></td>
</tr>
<tr>
<td><input name="btnZero" type="Button"
value="0" onclick="ns.NumPressed(0)"></td>
<td><input name="btnDecimal" type="Button"
value="." onclick="ns.NumPressed('.')"></td>
<td><input name="btnNeg" type="button"
value="+/-" onclick="ns.Neg()" /></td>
<td colspan="2"><input id="btnWide" name="btnEquals"
type="Button" value="=" onclick="ns.Operation('=')"></td>
</tr>
</table>
</form>
</div>
<script src="myApp.js"></script>
</body>
</html>