-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
56 lines (47 loc) · 1.96 KB
/
index.html
File metadata and controls
56 lines (47 loc) · 1.96 KB
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 http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles.css">
<title>Calculator</title>
</head>
<body>
<div id="container">
<div class="display">
<div class="previous"></div>
<div class="current"> 0 </div>
</div>
<div class="row row1">
<button class="key numbers key7" id="number">7</button>
<button class="key numbers key8" id="number">8</button>
<button class="key numbers key9" id="number">9</button>
<button class="key bigKey functions deleteValue" id="delete">DEL</button>
<button class="key bigKey functions clearDisplay" id="clear">AC</button>
</div>
<div class="row row2">
<button class="key numbers key4" id="number">4</button>
<button class="key numbers key5" id="number">5</button>
<button class="key numbers key6" id="number">6</button>
<button class="key bigKey operators keyx" id="operator">x</button>
<button class="key bigKey operators keyt" id="operator">÷</button>
</div>
<div class="row row3">
<button class="key numbers key1" id="number">1</button>
<button class="key numbers key2" id="number">2</button>
<button class="key numbers key3" id="number">3</button>
<button class="key bigKey operators" id="operator">+</button>
<button class="key bigKey operators" id="operator">-</button>
</div>
<div class="row row4">
<button class="key numbers key0" id="number">0</button>
<button class="key decimal keyDot" id="decimal">.</button>
<div class="key none"></div>
<div class="key bigKey none"></div>
<button class="key bigKey operators" id="equals">=</button>
</div>
</div>
<script src="scripts.js" deter></script>
</body>
</html>