-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
66 lines (61 loc) · 2.52 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
<!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="css/style.css">
</head>
<body>
<main class="main">
<div class="main-title">
<h1>Online Calculator</h1>
</div>
<div class="calculator">
<div class="calc-screen">
<div class="display-1">0</div>
<div class="display-2">0</div>
<div class="result"></div>
<!-- <div class="screen-last" id="lastOperationScreen"></div>
<div class="screen-current" id="currentOperationScreen">0</div> -->
</div>
<div class="btn-grid">
<div class="row">
<div class="btn modifier" id="clear">A/C</div>
<div class="btn modifier" id="negate">+/-</div>
<div class="btn modifier" id="percent">%</div>
<div class="btn operator" id="divide">÷</div>
</div>
<div class="row">
<div class="btn number" id="seven">7</div>
<div class="btn number" id="eight">8</div>
<div class="btn number" id="nine">9</div>
<div class="btn operator" id="multiply">×</div>
</div>
<div class="row">
<div class="btn number" id="four">4</div>
<div class="btn number" id="five">5</div>
<div class="btn number" id="six">6</div>
<div class="btn operator" id="subtract">-</div>
</div>
<div class="row">
<div class="btn number" id="one">1</div>
<div class="btn number" id="two">2</div>
<div class="btn number" id="three">3</div>
<div class="btn operator" id="add">+</div>
</div>
<div class="row">
<div class="btn number" id="zero">0</div>
<div class="btn number" id="decimal">.</div>
<div class="btn" id="equals">=</div>
</div>
</div>
</div>
</main>
<footer class="footer">
<p>Created by AbbeyIT ©<script>document.write(new Date().getFullYear())</script></p>
</footer>
<script src="./script/script.js"></script>
</body>
</html>