forked from The-Young-Programmer/Neumorphic-Calculator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
82 lines (74 loc) · 2.6 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
77
78
79
80
81
82
<!--
_______________________________________
Author: NemoNet aka The Young Programmer 🏅
Technologies: HTML, CSS & Javascript
Code Editor: NemoNet Editor
Date: Monday 3 May, 2021
All thanks to @Chibuzor
_______________________________________
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Neumorphic Calculator</title>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@9"></script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<script>
Swal.fire({
title: " Neumorphic Calculator ",
text: " created by NemoNet aka The Young Programmer",
confirmButtonText: "OK",
}).then((result) => {
if (result.isConfirmed) {
Swal.fire(
' ', /* to make the title blank */
'kindly give me a star 🌟 if you like this code',
)
}
})
</script>
<main>
<div id="result_area">
<div id="history">
<p></p>
</div>
<div id="output">
<p></p>
</div>
</div>
<div class="keys">
<button class="op__key" id="clear">c</button>
<button class="op__key" id="backspace">del</button>
<button class="op__key" id="%">%</button>
<button class="op__key" id="/">÷</button>
<button class="num__key" id="7">7</button>
<button class="num__key" id="8">8</button>
<button class="num__key" id="9">9</button>
<button class="op__key" id="*">×</button>
<button class="num__key" id="4">4</button>
<button class="num__key" id="5">5</button>
<button class="num__key" id="6">6</button>
<button class="op__key" id="-">-</button>
<button class="num__key" id="1">1</button>
<button class="num__key" id="2">2</button>
<button class="num__key" id="3">3</button>
<button class="op__key" id="+">+</button>
<button class="op__key" id=".">•</button>
<button class="num__key" id="0">0</button>
<form action="https://wa.me/2348156622466?text=I%20like%20your%20programming,%20my%20name%20is%20">
<button class="num__key" id=""><action="">🇳🇬</button></form>
<button class="op__key" id="=">=</button>
</div>
<br />
<footer>
<p><em>Created by NemoNet @ May 2021</em></p>
</footer>
</main>
<script src="main.js"></script>
</body>
</html>