-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (38 loc) · 1.9 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="style.css" rel="stylesheet" />
<title>Calculator</title>
</head>
<body>
<div class="header-titles"><h1 class="header-title">Calculator</h1></div>
<div class="grid-container">
<div class="display-input" class="display-output">
<div data-previous-operand class="previous-operand"></div>
<div data-current-operand class="current-operand"></div>
</div>
<button data-all-clear class="clear-all button-style">C</button>
<button data-delete class="delete-one button-style">DEL</button>
<button data-number class="button1 button-style">1</button>
<button data-number class="button2 button-style">2</button>
<button data-number class="button3 button-style">3</button>
<button data-operation class="add button-style">+</button>
<button data-number class="button4 button-style">4</button>
<button data-number class="button5 button-style">5</button>
<button data-number class="button6 button-style" id="btn5">6</button>
<button data-operation class="sub button-style">-</button>
<button data-number class="button7 button-style">7</button>
<button data-number class="button8 button-style">8</button>
<button data-number class="button9 button-style">9</button>
<button data-operation class="multiply button-style">*</button>
<button data-number class="button0 button-style">0</button>
<button data-number class="decimal button-style">.</button>
<button data-operation class="divide button-style">/</button>
<button data-equals class="calculate button-style">=</button>
</div>
<script src="script.js" defer></script>
</body>
</html>