-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
43 lines (40 loc) · 1.72 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>My Calculator</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="calculator">
<div id="screen">
<div id="history"></div>
<div id="result"></div>
</div>
<div id="keyboard">
<button id="CE" class="button">C</button>
<button id="del" class="button">del</button>
<button id="/" class="button operator">/</button>
<button id="ON" class="button">ON</button>
<button id="9" class="button number">9</button>
<button id="8" class="button number">8</button>
<button id="7" class="button number">7</button>
<button id="*" class="button operator">×</button>
<button id="6" class="button number">6</button>
<button id="5" class="button number">5</button>
<button id="4" class="button number">4</button>
<button id="-" class="button operator">-</button>
<button id="3" class="button number">3</button>
<button id="2" class="button number">2</button>
<button id="1" class="button number">1</button>
<button id="+" class="button operator">+</button>
<button id="OFF" class="button">OFF</button>
<button id="0" class="button number">0</button>
<button id="." class="button number">.</button>
<button id="eq" class="button equal">=</button>
</div>
</div>
<script src="app.js"></script>
</body>
</html>