-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (47 loc) · 1.89 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
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>Calculator</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<script src="main.js" defer></script>
<div class="calculator-container">
<div id="display">0</div>
<div class="button-container">
<div class="number-container">
<div class="row">
<button class="special" id="clear">AC</button>
<button class="special" id="invert">+/-</button>
<button class="special" id="percentage">%</button>
</div>
<div class="row">
<button class="number-button">7</button>
<button class="number-button">8</button>
<button class="number-button">9</button>
</div>
<div class="row">
<button class="number-button">4</button>
<button class="number-button">5</button>
<button class="number-button"">6</button>
</div>
<div class="row">
<button class="number-button">1</button>
<button class="number-button">2</button>
<button class="number-button">3</button>
</div>
<div class="row">
<button class="number-button zero">0</button>
<button class="number-button">.</button>
</div>
</div>
<div class="operation-container">
<button class="operation-button">/</button>
<button class="operation-button">x</button>
<button class="operation-button">-</button>
<button class="operation-button">+</button>
<button class="operation-button" id="equals">=</button>
</div>
</div>
</div>
</body>