-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
42 lines (41 loc) · 1.72 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Calculator</title>
<link href="styles.css" rel="stylesheet" />
<script src="script.js" defer></script>
<link rel="icon" href="./sources/calculator.png" type="image/x-icon" />
</head>
<body>
<h1>Calculator</h1>
<div class="calculator-container">
<div class="display" readonly>
<div data-previous-operand class="previous-operand"></div>
<div data-current-operand class="current-operand"></div>
</div>
<div class="button-container">
<button data-all-clear class="button-span-two">AC</button>
<button data-delete class="button">DEL</button>
<button data-operation class="button">/</button>
<button data-number class="button">1</button>
<button data-number class="button">2</button>
<button data-number class="button">3</button>
<button data-operation class="button">*</button>
<button data-number class="button">4</button>
<button data-number class="button">5</button>
<button data-number class="button">6</button>
<button data-operation class="button">+</button>
<button data-number class="button">7</button>
<button data-number class="button">8</button>
<button data-number class="button">9</button>
<button data-operation class="button">-</button>
<button data-number class="button">.</button>
<button data-number class="button">0</button>
<button data-equal class="button-span-two">=</button>
</div>
</div>
</body>
</html>