-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (51 loc) · 1.64 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
<!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="style.css">
</head>
<body>
<div id="main-container">
<div id="calculator-body">
<div id="main-display">
<button id="clear-entry">CE</button>
<div id="display">0</div>
</div>
<div id="keypad">
<div id="left-keys">
<div id="function-keys">
<button id="all-clear">AC</button>
<button id="sign">+/-</button>
<button id="percent">%</button>
</div>
<div id="number-keys">
<button id="seven">7</button>
<button id="eight">8</button>
<button id="nine">9</button>
<button id="four">4</button>
<button id="five">5</button>
<button id="six">6</button>
<button id="one">1</button>
<button id="two">2</button>
<button id="three">3</button>
<button id="zero">0</button>
<button id="decimal">.</button>
</div>
</div>
<div id="right-keys">
<div id="operator-keys">
<button id="divide">/</button>
<button id="multiply">*</button>
<button id="subtract">-</button>
<button id="add">+</button>
<button id="equal">=</button>
</div>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>