-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
76 lines (50 loc) · 1.67 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en">
<head>
<title>JS-Calculator</title>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1.0, width=device-width">
<link rel="stylesheet" type="text/css" href="./style.css">
<script src="./script.js" defer></script>
</head>
<body>
<header>
<h1>JS-Calculator</h1>
</header>
<div class="content">
<div class="calc-body">
<div class="screen-area">
<div class="screen">
<span class="previous-operands"> </span>
<span class="current-operands"> </span>
</div>
</div>
<div class="control-area">
<div class="num-keys">
<button class="key num-key">9</button>
<button class="key num-key">8</button>
<button class="key num-key">7</button>
<button class="key num-key">6</button>
<button class="key num-key">5</button>
<button class="key num-key">4</button>
<button class="key num-key">3</button>
<button class="key num-key">2</button>
<button class="key num-key">1</button>
<button class="key num-key">0</button>
</div>
<div class="op-keys">
<button class="key op-key destructive">C</button>
<button class="key op-key">+</button>
<button class="key op-key">-</button>
<button class="key op-key">*</button>
<button class="key op-key">/</button>
<button class="key op-key suggested">=</button>
</div>
</div>
</div>
</div>
<footer>
<a class="copyright-text" href="https://www.github.com/AbrarSL/JS-Calculator">©Abrar Ahmed</a>
</footer>
</body>
</html>