-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
72 lines (71 loc) · 3.62 KB
/
index.html
File metadata and controls
72 lines (71 loc) · 3.62 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Advance Calculator</title>
<link rel="icon" type="image/x-icon" href="./src/images.png">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<link rel="stylesheet" href="./src/style.css">
</head>
<body>
<marquee behaviour="slide" direction="left">This website is made by <a href="https://scratch.mit.edu/users/CodeWithUttam/" target="_blank">@CodeWithUttam</a> and <a href="https://scratch.mit.edu/users/BwnnyRxbbit/" target="_blank">@BwnnyRxbbit</a></marquee>
<center>
<table border="2" id="layout">
<tr>
<td colspan="3">
<input type="text" id="result1" readonly>
<input type="text" id="result2" readonly>
</td>
<td><button type="button" value="C" id="C">C</button></td>
</tr>
<tr>
<td><button type="button" value="1" class="btn">1</button></td>
<td><button type="button" value="2" class="btn">2</button></td>
<td><button type="button" value="3" class="btn">3</button></td>
<td><button type="button" value="÷" id="btn">÷</button></td>
</tr>
<tr>
<td><button type="button" value="4" class="btn">4</button></td>
<td><button type="button" value="5" class="btn">5</button></td>
<td><button type="button" value="6" class="btn">6</button></td>
<td><button type="button" value="x" id="btn">x</button></td>
</tr>
<tr>
<td><button type="button" value="7" class="btn">7</button></td>
<td><button type="button" value="8" class="btn">8</button></td>
<td><button type="button" value="9" class="btn">9</button></td>
<td><button type="button" value="-" id="btn">-</button></td>
</tr>
<tr>
<td><button type="button" value="0" class="btn">0</button></td>
<td><button type="button" value="." class="btn">.</button></td>
<td><button type="button" value="=" id="spc">=</button></td>
<td><button type="button" value="+" id="btn">+</button></td>
</tr>
<tr>
<td><button type="button" value="abs" class="btna">abs</button></td>
<td><button type="button" value="cosθ" class="btna">cosθ</button></td>
<td><button type="button" value="tanθ" class="btna">tanθ</button></td>
<td><button type="button" value="%" id="btn">%</button></td>
</tr>
<tr>
<td><button type="button" value="cosecθ" class="btnas">cosecθ</button></td>
<td><button type="button" value="secθ" class="btna">secθ</button></td>
<td><button type="button" value="cotθ" class="btna">cotθ</button></td>
<td><button type="button" value="xⁿ" id="btn">xⁿ</button></td>
</tr>
<tr>
<td><button type="button" value="(" id="btn">(</button></td>
<td><button type="button" value=")" id="btn">)</button></td>
<td><button type="button" value="√¯¯" class="btnaa" id="btn">√¯¯</button></td>
<td><button type="button" value="3.14" class="btnaa">π</button></td>
</tr>
</table>
</center>
<button id="random-number-button" onclick="randomNumber()">Random Number</button>
<button id="darkmode-button" onclick="darkmode()">Dark mode</button>
<script src="./src/script.js"></script>
<script src="./src/shortcuts.js"></script>
</body>
</html>