-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (62 loc) · 2.18 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<!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" href="./main.css">
<script src="./js/helper.js" defer></script>
<script src="./js/main.js" defer></script>
</head>
<body>
<div class="container">
<div class="wrap">
<div class="case">
<div class="display">
<div class="output">0</div>
</div>
<div class="functions">
<button class="backspace">⌫</button>
<button class="clear">AC</button>
</div>
<div class="operands-and-operators">
<div class="operands">
<div class="seven-through-nine">
<button class="operand">7</button>
<button class="operand">8</button>
<button class="operand">9</button>
</div>
<div class="six-through-four">
<button class="operand">4</button>
<button class="operand">5</button>
<button class="operand">6</button>
</div>
<div class="one-through-three">
<button class="operand">1</button>
<button class="operand">2</button>
<button class="operand">3</button>
</div>
<div class="zero-and-decimal">
<button class="operand zero">0</button>
<button class="operand decimal">.</button>
</div>
</div>
<div class="operators">
<div class="add-and-subtract">
<button class="operator">+</button>
<button class="operator">-</button>
</div>
<div class="multiply-and-divide">
<button class="operator multiply">x</button>
<button class="operator divide">÷</button>
</div>
<div class="equals">
<button class="operator">=</button>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>