-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (50 loc) · 2.74 KB
/
Copy pathindex.html
File metadata and controls
50 lines (50 loc) · 2.74 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
<!DOCTYPE html>
<html>
<head>
<title>Calculator</title>
<link rel="stylesheet" href="styles.css">
<link href='https://fonts.googleapis.com/css?family=Squada One' rel='stylesheet'>
<link href='https://fonts.googleapis.com/css?family=Share Tech Mono' rel='stylesheet'>
</head>
<body>
<div id="title">
Note: Use this calculator for calculating White Money only.
</div>
<main>
<form name="form">
<input class="textview" id="textview" disabled>
</form>
<table>
<tr>
<td><input type="button" class="button cBtn" value="C" onclick="clean()"></td>
<td><input type="button" class="button" value="CE" onclick="back()"></td>
<td><input type="button" class="button" value="÷" onclick="insert('/')"></td>
<td><input type="button" class="button" value="×" onclick="insert('*')"></td>
</tr>
<tr>
<td><input type="button" class="button" value="7" onclick="insert(this.value)"></td>
<td><input type="button" class="button" value="8" onclick="insert(this.value)"></td>
<td><input type="button" class="button" value="9" onclick="insert(this.value)"></td>
<td><input type="button" class="button" value="-" onclick="insert(this.value)"></td>
</tr>
<tr>
<td><input type="button" class="button" value="4" onclick="insert(this.value)"></td>
<td><input type="button" class="button" value="5" onclick="insert(this.value)"></td>
<td><input type="button" class="button" value="6" onclick="insert(this.value)"></td>
<td><input type="button" class="button" value="+" onclick="insert(this.value)"></td>
</tr>
<tr>
<td><input type="button" class="button" value="1" onclick="insert(this.value)"></td>
<td><input type="button" class="button" value="2" onclick="insert(this.value)"></td>
<td><input type="button" class="button" value="3" onclick="insert(this.value)"></td>
<td rowspan="2"><input type="button" class="button equalBtn" value="=" onclick="equal()"></td>
</tr>
<tr>
<td colspan="2"><input type="button" class="button zeroBtn" value="0" onclick="insert(this.value)"></td>
<td><input type="button" class="button" value="." onclick="insert(this.value)"></td>
</tr>
</table>
</main>
<script src="scripts.js"></script>
</body>
</html>