-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (46 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
<!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="style.css">
<script src="calculator.js" defer></script>
</head>
<body>
<div class="calculator">
<div class="display">0</div>
<div class="top-row">
<button class="top clear">CLEAR</button>
<button class="top delete">DELETE</button>
</div>
<div class="numbers">
<row class="row">
<button class="pad seven">7</button>
<button class="pad eight">8</button>
<button class="pad nine">9</button>
<button class="pad divide">÷</button>
</row>
<row class="row">
<button class="pad four">4</button>
<button class="pad five">5</button>
<button class="pad six">6</button>
<button class="pad multiply">x</button>
</row>
<row class="row">
<button class="pad one">1</button>
<button class="pad two">2</button>
<button class="pad three">3</button>
<button class="pad subtract">-</button>
</row>
<row class="row">
<button class="pad decimal">.</button>
<button class="pad zero">0</button>
<button class="pad operate">=</button>
<button class="pad add">+</button>
</row>
</div>
</div>
</body>
</html>