-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
114 lines (85 loc) · 2.04 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
<!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</title>
<link rel="stylesheet" href="main.css" />
</head>
<body>
<div class="app">
<div class="calculator">
<div class="display">
<div class="content">
<div class="input"></div>
<div class="output" id="display"></div>
</div>
</div>
<div class="keys">
<div data-key="clear" class="key action">
<span style="color: red;">AC</span>
</div>
<div data-key="backspace" class="key action">
<span><</span>
</div>
<div data-key="%" class="key action">
<span style="color: #09ff00;">%</span>
</div>
<div data-key="/" class="key operator">
<span>÷</span>
</div>
<div data-key="7" class="key">
<span>7</span>
</div>
<div data-key="8" class="key">
<span>8</span>
</div>
<div data-key="9" class="key">
<span>9</span>
</div>
<div data-key="*" class="key operator">
<span>x</span>
</div>
<div data-key="4" class="key">
<span>4</span>
</div>
<div data-key="5" class="key">
<span>5</span>
</div>
<div data-key="6" class="key">
<span>6</span>
</div>
<div data-key="-" class="key operator">
<span>-</span>
</div>
<div data-key="1" class="key">
<span>1</span>
</div>
<div data-key="2" class="key">
<span>2</span>
</div>
<div data-key="3" class="key">
<span>3</span>
</div>
<div data-key="+" class="key operator">
<span>+</span>
</div>
<div data-key="0" class="key">
<span>0</span>
</div>
<div data-key="00" class="key">
<span>00</span>
</div>
<div data-key="." class="key">
<span>.</span>
</div>
<div data-key="=" class="key" id="myeq">
<span style="color: rgb(255, 247, 0);">=</span>
</div>
</div>
</div>
</div>
<script src="main.js"></script>
</body>
</html>