-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
53 lines (43 loc) · 1.49 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
<!doctype html>
<html>
<head>
<title>Modulo Calculator</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<table style="position: absolute; top: 0; bottom: 0; left: 0; right: 0;">
<th colspan="4"><input type="text" id="display"></input>
</th>
<tr>
<!--7--><td><button class="button">7</button></td>
<!--8--><td><button class="button">8</button></td>
<!--9--><td><button class="button">9</button></td>
<!--9--><td><button class="button">/</button></td>
<!----><td></td>
</tr>
<tr>
<!--4--><td><button class="button">4</button></td>
<!--5--><td><button class="button">5</button></td>
<!--6--><td><button class="button">6</button></td>
<!--"*"--><td><button class="button">*</button></td>
</tr>
<tr>
<!--1--><td><button class="button">1</button></td>
<!--2--><td><button class="button">2</button></td>
<!--3--><td><button class="button">3</button></td>
<!--"-"--><td><button class="button">-</button></td>
</tr>
<tr>
<!--0--><td><button class="button">0</button></td>
<!--"."--><td><button class="button">.</button></td>
<!--"C"--><td><button class="clearbutton">C</button></td>
<!--"+"--><td><button class="button">+</button></td>
</tr>
<tr>
<!--"="--><td colspan="4"><button class="button-equals">=</button></td>
</tr>
</table>
<script type="text/javascript" src="calculator.js"></script>
</body>
</html>