-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (39 loc) · 2 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
<html>
<head>
<title>Calculator</title>
<link rel="stylesheet" type="text/css" href="stylesheets/calculator-ui.css">
</head>
<body>
<div id="main-container">
<div id="calculator">
<div id="display-container">
<div id="calc-result"></div>
</div>
<div id="input-container">
<div id="keys-container">
<button id="7"class="operand">7</button>
<button id="8" class="operand">8</button>
<button id="9" class="operand">9</button>
<button id="4" class="operand">4</button>
<button id="5" class="operand">5</button>
<button id="6" class="operand">6</button>
<button id="1" class="operand">1</button>
<button id="2" class="operand">2</button>
<button id="3" class="operand">3</button>
<button id="0" class="operand">0</button>
</div>
<div id= "operators-container">
<button id="AC" class="operand">AC</button>
<button id="backspace" class="operand">=></button>
<button id="x" class="operator">x</button>
<button id="/" class="operator">÷</button>
<button id="+" class="operator">+</button>
<button id="-" class="operator">-</button>
<button id="=" class="operator">=</button>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="scripts/calculator.js"></script>
</body>
</html>