forked from next-step/js-calculator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (38 loc) · 1.49 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Calculator</title>
<link rel="stylesheet" type="text/css" href="src/css/index.css" />
</head>
<body>
<div id="app">
<div class="calculator">
<h1 id="total">0</h1>
<div class="digits flex">
<button class="digit">9</button>
<button class="digit">8</button>
<button class="digit">7</button>
<button class="digit">6</button>
<button class="digit">5</button>
<button class="digit">4</button>
<button class="digit">3</button>
<button class="digit">2</button>
<button class="digit">1</button>
<button class="digit">0</button>
</div>
<div class="modifiers subgrid">
<button class="modifier">AC</button>
</div>
<div class="operations subgrid">
<button class="operation">/</button>
<button class="operation">X</button>
<button class="operation">-</button>
<button class="operation">+</button>
<button class="operation">=</button>
</div>
</div>
</div>
</body>
</html>