-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
74 lines (64 loc) · 3.06 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
<!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>Web Calculator | Calculate Online</title>
<!-- Favicon -->
<link rel="shortcut icon" href="favicon.png" type="image/x-icon">
<!-- Bootstrap -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<!-- Custom Style -->
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Container -->
<main class="container row justify-content-center align-items-center mx-auto">
<!-- Text Section -->
<section class="description col-12 col-md-6 ">
<h1 class="text-custom text-center fw-bold">Web Calculator</h1>
<p class="details">This is a Simple Calculator. By using this calculator, you can be done your necessary time-eater calculation easily. Of course, it's not an advanced calculator. You can do these things easily below: <br>
1. Addition, <br>
2. Subtraction, <br>
3. Multiply, <br>
4. Division, <br>
5. Decimal Math ..... etc.</p>
</section>
<!-- Main Calculator Section -->
<section id="calculator" class="col-12 col-md-6 justify-content-center">
<div id="display">
<p id="result"></p>
<p id="preview"></p>
</div>
<div id="buttons">
<button class="control" id="clear">AC</button>
<button class="control" id="backspace">⌫</button>
<button class="sign" id="percentage">%</button>
<button class="sign" id="division">÷</button>
<button class="number" id="7">7</button>
<button class="number" id="8">8</button>
<button class="number" id="9">9</button>
<button class="sign" id="multiply">×</button>
<button class="number" id="4">4</button>
<button class="number" id="5">5</button>
<button class="number" id="6">6</button>
<button class="sign" id="minus">-</button>
<button class="number" id="1">1</button>
<button class="number" id="2">2</button>
<button class="number" id="3">3</button>
<button class="sign" id="plus">+</button>
<button class="number" id=".">.</button>
<button class="number" id="0">0</button>
<button class="" id="equal">=</button>
</div>
</section>
</main>
<!-- Footer -->
<footer class="footer">
<p class="copyright">Copyright © 2022 | Developed By <a href="http://linkedin.com/in/itsproali" target="_blank">Mohammad Ali</a></p>
</footer>
<!-- Javascript -->
<script src="script.js"></script>
</body>
</html>