-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (31 loc) · 1.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mathematical Operations</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<input type="number" id="number">
<div class="btn">
<button onclick="add()">Add With</button>
<button onclick="sub()">Subtract With</button>
<button onclick="mul()">Multiply With</button>
<button onclick="div()">Divide With</button>
<button onclick="fac()">Find Factors</button>
<button onclick="sqr()">Find Square</button>
<button onclick="sqrR()">Find Square Root</button>
<button onclick="tab()">Generate Table</button>
</div>
<div class="result" id="res"></div>
</div>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script src="sweetalert2.all.min.js"></script>
<script src="script.js"></script>
</body>
</html>