-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
57 lines (55 loc) · 2.34 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" sizes="32x32" />
<link rel="stylesheet" href="./css/style.css" />
<title>Calculator app</title>
<script defer src="index.js"></script>
</head>
<body>
<div class="container">
<div class="calc-header">
<p class="calc-text">calc</p>
<div class="calc-theme">
<span>Theme</span>
<div class="tri-state-toggle">
<button class="toggle-btn active" data-theme="1"></button
><button class="toggle-btn" data-theme="2"></button
><button class="toggle-btn" data-theme="3"></button>
</div>
</div>
<div class="theme-number">
<span>1</span>
<span>2</span>
<span>3</span>
</div>
</div>
<div class="calc-display">
<div class="prev-op"></div>
<div class="curr-op"></div>
</div>
<div class="calc-body">
<button class="calc-op-box" data-number><span>7</span></button>
<button class="calc-op-box" data-number><span>8</span></button>
<button class="calc-op-box" data-number><span>9</span></button>
<button class="btn btn-del" data-delete>del</button>
<button class="calc-op-box" data-number><span>4</span></button>
<button class="calc-op-box" data-number><span>5</span></button>
<button class="calc-op-box" data-number><span>6</span></button>
<button class="calc-op-box" data-operation><span>+</span></button>
<button class="calc-op-box" data-number><span>1</span></button>
<button class="calc-op-box" data-number><span>2</span></button>
<button class="calc-op-box" data-number><span>3</span></button>
<button class="calc-op-box" data-operation><span>-</span></button>
<button class="calc-op-box" data-number><span>.</span></button>
<button class="calc-op-box" data-number><span>0</span></button>
<button class="calc-op-box" data-operation><span>/</span></button>
<button class="calc-op-box" data-operation><span>x</span></button>
<button class="btn btn-reset" data-reset>reset</button>
<button class="btn btn-equal" data-equals>=</button>
</div>
</div>
</body>
</html>