-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
77 lines (74 loc) · 2.1 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
<html>
<head>
<title> Calculator </title>
<meta charset="utf-8">
<meta name="viewport" content="width=device.width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="grid">
<div class="screen">
<!-- <h3 class="operatorSign"> </h3> -->
<h2 id="operator"></h2>
<h1 id="nums"></h1>
<h1 id="answer"></h1>
</div>
<div class="numPad">
<button class="seven buttons numbers">
<h3> 7 </h3>
</button>
<button class="eight buttons numbers">
<h3> 8 </h3>
</button>
<button class="nine buttons numbers">
<h3> 9 </h3>
</button>
<button class="four buttons numbers">
<h3> 4 </h3>
</button>
<button class="five buttons numbers">
<h3> 5 </h3>
</button>
<button class="six buttons numbers">
<h3> 6 </h3>
</button>
<button class="one buttons numbers">
<h3> 1 </h3>
</button>
<button class="two buttons numbers">
<h3> 2 </h3>
</button>
<button class="three buttons numbers">
<h3> 3 </h3>
</button>
<button class="decimal buttons numbers">
<h3> . </h3>
</button>
<button class="zero buttons numbers">
<h3> 0 </h3>
</button>
<button id="equals" class="equals buttons function">
<h3> = </h3>
</button>
</div>
<div class="functions">
<button id="clear" class="clear buttons function">
<h3> c </h3>
</button>
<button id="devide" class="devide buttons function">
<h3> ÷ </h3>
</button>
<button id="multiply" class="multiply buttons function">
<h3> x </h3>
</button>
<button id="minus" class="minus buttons function">
<h3> - </h3>
</button>
<button id="plus" class="plus buttons function">
<h3> + </h3>
</button>
</div>
</div>
<script src="index.js"></script>
</body>
</html>