-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (38 loc) · 1.44 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
<!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="index.css">
</head>
<body>
<div class="calculator">
<div class="display">
<span class="result">0</span>
</div>
<div class="buttons">
<button class="btn btn-op">AC</button>
<button class="btn btn-op">+/-</button>
<button class="btn btn-op">%</button>
<button class="btn btn-op btn-blue">/</button>
<button class="btn btn-num">7</button>
<button class="btn btn-num">8</button>
<button class="btn btn-num">9</button>
<button class="btn btn-op btn-blue">*</button>
<button class="btn btn-num">4</button>
<button class="btn btn-num">5</button>
<button class="btn btn-num">6</button>
<button class="btn btn-op btn-blue">-</button>
<button class="btn btn-num">1</button>
<button class="btn btn-num">2</button>
<button class="btn btn-num">3</button>
<button class="btn btn-op btn-blue">+</button>
<button class="btn btn-num btn-zero">0</button>
<button class="btn btn-num">.</button>
<button class="btn btn-op btn-blue">=</button>
</div>
</div>
<script src="index.js"></script>
</body>
</html>