-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
93 lines (80 loc) · 3.46 KB
/
Copy pathindex.html
File metadata and controls
93 lines (80 loc) · 3.46 KB
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
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Calculator</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<form name="Calculator" class="calculator">
<table border="2" align="center">
<tr class="calrow" align="center">
<td colspan="4">
<input type="text" name="input" size="25" id="ip">
</td>
</tr>
<tr class="calrow" align="center">
<td>
<input type="button" value="9" name="b9" onclick="disp('9')" class="keys">
</td>
<td>
<input type="button" value="8" name="b8" onclick="disp('8')" class="keys">
</td>
<td>
<input type="button" value="7" name="b7" onclick="disp('7')" class="keys">
</td>
<td>
<input type="button" value="+" name="pls" onclick="disp('+')" class="keys">
</td>
</tr>
<tr class="calrow" align="center">
<td>
<input type="button" value="6" name="b6" onclick="disp('6')" class="keys">
</td>
<td>
<input type="button" value="5" name="b5" onclick="disp('5')" class="keys">
</td>
<td>
<input type="button" value="4" name="b4" onclick="disp('4')" class="keys">
</td>
<td>
<input type="button" value="-" name="mns" onclick="disp('-')" class="keys">
</td>
</tr>
<tr class="calrow" align="center">
<td>
<input type="button" value="3" name="b3" onclick="disp('3')" class="keys">
</td>
<td>
<input type="button" value="2" name="b2" onclick="disp('2')" class="keys">
</td>
<td>
<input type="button" value="1" name="b1" onclick="disp('1')" class="keys">
</td>
<td>
<input type="button" value="/" name="dv" onclick="disp('/')" class="keys">
</td>
</tr>
<tr class="calrow" align="center">
<td>
<input type="button" value="c" name="clr" onclick="clrscr()">
</td>
<td>
<input type="button" value="0" name="b0" onclick="disp('0')" class="keys">
</td>
<td>
<input type="button" value="=" name="eql" onclick="ev()">
</td>
<td>
<input type="button" value="*" name="mul" onclick="disp('*')" class="keys">
</td>
</tr>
</table>
</form>
<script src="fun.js"></script>
</body>
</html>
</html>