forked from realkevinbrian/calculatorApp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
82 lines (62 loc) · 2.6 KB
/
index.html
File metadata and controls
82 lines (62 loc) · 2.6 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<!--
Developed and mantained by kevin Brian
Design by Kevin
contact :
email : realkevinbrian@gmail.com
whatsapp : +258 85 5874201
-->
<!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 App</title>
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" integrity="sha512-iBBXm8fW90+nuLcSKlbmrPcLa0OT92xO1BIsZ+ywDWZCvqsWgccV3gFoRBv0z+8dLJgyAHIhR35VZc2oM/gI1w==" crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<div class="appContainer">
<div class="topContainer">
<div class="resultContainer">
<div class="result">
<span id="displayResult">0</span>
</div>
<div class="live">
<span id="liveResult">0</span>
</div>
</div>
</div>
<div class="numericContainer">
<div class="numContainer">
<div class="top">
<button data-action="clear">AC</button>
<button data-action="minusAdd">±</button>
<button data-action="percentage">%</button>
</div>
<div class="center">
<button class="numPads">1</button>
<button class="numPads">2</button>
<button class="numPads">3</button>
<button class="numPads">4</button>
<button class="numPads">5</button>
<button class="numPads">6</button>
<button class="numPads">7</button>
<button class="numPads">8</button>
<button class="numPads">9</button>
<button class="numPads">0</button>
<button data-action="decimal">.</button>
</div>
<div class="rightSide">
<button data-action="divide">÷</button>
<button data-action="multiply">×</button>
<button data-action="minus">−</button>
<button data-action="add">+</button>
<button data-action="equal">=</button>
</div>
</div>
</div>
</div>
<script type="module" src="./assets/script/app.js"></script>
</body>
</html>