-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
147 lines (138 loc) · 5.96 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!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" />
<title>Calculator Step 4</title>
<link rel="stylesheet" id="theme-stylesheet" />
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<div class="calculator">
<div class="header">
<div class="header__app-name">Calculator</div>
<div class="header__windows-nav">
<div class="btn-hover">–</div>
<div class="btn-hover">▢</div>
<div>✕</div>
</div>
</div>
<div class="standard">
<div class="standard__left">
<p
class="standard__left__element btn-hover"
id="change-theme"
>
lll
</p>
<p class="standard__left__element">Standard</p>
<p>
<img
src="./svg/standard.svg"
alt="standard-icon"
class="svg-color"
/>
</p>
</div>
<div class="standard__right">
<a
class="standard__right__element btn-hover"
href="https://b2n.ir/d31846"
>ↈ</a
>
</div>
</div>
<div class="calculate">
<div class="calculate__temp-history"></div>
<div class="calculate__output"></div>
</div>
<div class="memory-btns">
<div class="memory-btn gray-btn">MC</div>
<div class="memory-btn gray-btn">MR</div>
<div class="memory-btn btn-hover">M+</div>
<div class="memory-btn btn-hover">M-</div>
<div class="memory-btn btn-hover">MS</div>
</div>
<div class="history">
<div class="history__nav">
<div class="history-memory">History</div>
<div class="history-memory">Memory</div>
<div></div>
<div><hr class="history-hr" /></div>
<div><hr class="history-hr" /></div>
<div></div>
</div>
<div id="calc-history"></div>
<!-- <div class="memory-box">
<div class="memory-box-number">${objOfMemory[i]}</div>
<div class="memory-box-div">
<div class="memory-box-mc">MC</div>
<div class="memory-box-mp">M+</div>
<div class="memory-box-mm">M-</div>
</div>
</div> -->
<!-- <div id="empty-history">There's no history yet</div> -->
<!-- <div class="history-box">
<div class="history-box-tempHistory">25 + 6 = </div>
<div class="history-box-calculateOutput">31</div>
</div> -->
<div class="history-delete">
<div class="history-delete__btn btn-hover">
<img
src="svg/recycle-bin.svg"
alt="recycle-bin-icon"
class="svg-color"
/>
</div>
</div>
</div>
<div class="keys">
<div value="%" class="key">%</div>
<div value="CE" class="key">CE</div>
<div value="C" class="key">C</div>
<div value="DEL" class="key">
<img
src="svg/delete.svg"
alt="delete-icon"
class="svg-color"
/>
</div>
<div value="÷" class="key extra-large">÷</div>
<div value="√x" class="key">√x</div>
<div value="7" class="key lighter-key">7</div>
<div value="8" class="key lighter-key">8</div>
<div value="9" class="key lighter-key">9</div>
<div value="×" class="key extra-large">×</div>
<div value="X²" class="key">X²</div>
<div value="4" class="key lighter-key">4</div>
<div value="5" class="key lighter-key">5</div>
<div value="6" class="key lighter-key">6</div>
<div value="-" class="key extra-large">-</div>
<div value="X³" class="key">X³</div>
<div value="1" class="key lighter-key">1</div>
<div value="2" class="key lighter-key">2</div>
<div value="3" class="key lighter-key">3</div>
<div value="+" class="key extra-large">+</div>
<div value="1/X" class="key">
<span style="font-size: 20px">¹</span>
<span>/</span>
<span style="font-size: 15px">x</span>
</div>
<div value="+/-" class="key">
<span style="font-size: 28px">⁺</span>
<span>/</span>
<span>–</span>
</div>
<div value="0" class="key lighter-key">0</div>
<div value="." class="key extra-large">.</div>
<div value="=" class="key extra-large">=</div>
</div>
</div>
<script src="js/history-memory.js"></script>
<script src="js/theme-changer.js"></script>
<script src="js/keyboard-keys.js"></script>
<script src="js/key-order.js"></script>
<script src="js/main.js"></script>
</body>
</html>