-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathindex.html
200 lines (174 loc) · 9.34 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>Calculator</title>
<link rel="icon" type="image/png" sizes="32x32" href="./images/favicon.png">
<link href="style.css" rel="stylesheet" type="text/css" />
<link href="utils.css" rel="stylesheet" type="text/css" />
<link href="./src/output.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
integrity="sha512-iecdLmaskl7CVkqkXNQ/ZH/XLlvWZOJyj7Yy7tcenmpD1ypASozpmT/E0iPtmFIB46ZmdtAc9eNBvH0H/ZpiBw=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<nav class="bg-gray-800">
<div class="mx-auto max-w-7xl px-2 sm:px-6 lg:px-8">
<div class="relative flex h-16 items-center justify-between">
<div class="absolute inset-y-0 left-0 flex items-center sm:hidden">
<!-- Mobile menu button-->
<button type="button" class="relative inline-flex items-center justify-center rounded-md p-2 text-gray-400 hover:bg-gray-700 hover:text-white focus:outline-none focus:ring-2 focus:ring-inset focus:ring-white" aria-controls="mobile-menu" aria-expanded="false">
<span class="absolute -inset-0.5"></span>
<span class="sr-only">Open main menu</span>
<svg class="block h-6 w-6" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon">
<path stroke-linecap="round" stroke-linejoin="round" d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5" />
</svg>
<!--
Icon when menu is open.
Menu open: "block", Menu closed: "hidden"
-->
<svg class="hidden h-6 w-6" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true" data-slot="icon">
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18 18 6M6 6l12 12" />
</svg>
</button>
</div>
<div class="flex flex-1 items-center justify-center sm:items-stretch sm:justify-start">
<div class="hidden sm:ml-6 sm:block">
<div class="flex space-x-4">
<!-- Current: "bg-gray-900 text-white", Default: "text-gray-300 hover:bg-gray-700 hover:text-white" -->
<a href="#" class="rounded-md bg-gray-900 px-3 py-2 text-sm font-medium text-white" aria-current="page">Home</a>
<a href="#" class="rounded-md px-3 py-2 text-sm font-medium text-gray-300 hover:bg-gray-700 hover:text-white">Link</a>
<div class="relative">
<!-- Dropdown Link -->
<a href="#" class="rounded-md mt-5 px-3 py-2 text-sm font-medium text-gray-300 hover:bg-gray-700 hover:text-white" id="navbarDropdown" role="button" aria-haspopup="true" aria-expanded="false">
Dropdown
</a>
<!-- Dropdown Menu -->
<div class="dropdown-menu absolute hidden bg-gray-800 text-white rounded-md shadow-lg mt-1 w-48 z-10" aria-labelledby="navbarDropdown">
<a href="#" class="block px-4 py-2 text-sm hover:bg-gray-600">Action</a>
<a href="#" class="block px-4 py-2 text-sm hover:bg-gray-600">Another action</a>
<div class="border-t border-gray-600"></div>
<a href="#" class="block px-4 py-2 text-sm hover:bg-gray-600">Something else here</a>
</div>
</div>
<a href="#" class="rounded-md px-3 py-2 text-sm font-medium text-gray-300 cursor-not-allowed hover:bg-gray-700 disabled hover:text-white">Disabled</a>
</div>
</div>
</div>
<form class="flex items-center space-x-2 py-2">
<input type="search" placeholder="Search" class="px-4 py-2 text-sm border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-blue-500 w-64" aria-label="Search">
<button type="submit" class="px-2 h-10 py-2 text-sm font-medium text-white bg-green-500 rounded-md hover:bg-green-600 focus:outline-none focus:ring-2 focus:ring-green-500">
submit
</button>
</form>
</div>
</div>
</div>
<!-- Mobile menu, show/hide based on menu state. -->
<div class="sm:hidden" id="mobile-menu">
<div class="space-y-1 px-2 pb-3 pt-2">
<!-- Current: "bg-gray-900 text-white", Default: "text-gray-300 hover:bg-gray-700 hover:text-white" -->
<a href="#" class="block rounded-md bg-gray-900 px-3 py-2 text-base font-medium text-white" aria-current="page">Dashboard</a>
<a href="#" class="block rounded-md px-3 py-2 text-base font-medium text-gray-300 hover:bg-gray-700 hover:text-white">Team</a>
<a href="#" class="block rounded-md px-3 py-2 text-base font-medium text-gray-300 hover:bg-gray-700 hover:text-white">Projects</a>
<a href="#" class="block rounded-md px-3 py-2 text-base font-medium text-gray-300 hover:bg-gray-700 hover:text-white">Calendar</a>
</div>
</div>
</nav>
<div class="container flex flex-row items-center mx-auto m-w-20">
<div id="timer">
<h3 id="timer-text">Ends in 0d 0h 00m 00s</h3>
</div>
<div class="container-calculator">
<h1 class="title">Calculator For You</h1>
<div class="theme-selector">
<label style="font-size: medium;color: aquamarine;" for="theme"><strong>Choose a theme:</strong></label>
<select id="theme" onchange="changeTheme(this.value)">
<option value="default">Default</option>
<option value="dark">Dark</option>
<option value="light">Light</option>
</select>
</div>
<div class="parent">
<div class="row display">
<input class="input" id="screen" name="result" type="text" placeholder="0">
</div>
<div class="row result">
<input class="results" id="results" name="results" type="text" placeholder="Answer" disabled>
</div>
<div class="row">
<button id="ce" class="opr" type="button">CE</button>
<button class="opr" type="button">X!</button>
<button type="button" class="opr" class="btn">(</button>
<button type="button" class="opr" class="btn">)</button>
<button type="button" class="opr">C</button>
<button type="button" class="opr" class="btn">%</button>
<button type="button" class="opr" class="btn">M+</button>
<button type="button" class="opr" class="btn">M-</button>
</div>
<div class="row">
<button class="opr" type="button">sin</button>
<button class="opr" type="button">π</button>
<button type="button" class="btn">7</button>
<button type="button" class="btn">8</button>
<button type="button" class="btn">9</button>
<button type="button" class="opr" class="btn">*</button>
</div>
<div class="row">
<button class="opr" type="button">cos</button>
<button class="opr" type="button">log</button>
<button type="button" class="btn">4</button>
<button type="button" class="btn">5</button>
<button type="button" class="btn">6</button>
<button type="button" class="opr" class="btn">/</button>
</div>
<div class="row">
<button class="opr" type="button">tan</button>
<button class="opr" type="button">√</button>
<button type="button" class="btn">1</button>
<button type="button" class="btn">2</button>
<button type="button" class="btn">3</button>
<button type="button" class="opr" class="btn">+</button>
</div>
<div class="row">
<button class="opr" type="button">e</button>
<button class="opr" type="button">^</button>
<button type="button" class="btn">0</button>
<button type="button" class="btn">.</button>
<button type="button" class="eql" onclick="screen.value=eval(screen.value)">=</button>
<button type="button" class="opr" class="btn">-</button>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
</body>
<footer class="footer">
<div class="footer__bg">
<div class="container_footer">
<h2 class="foot_heading"><b>Connect With Us On</b></h2>
<div class="footer-links">
<div class="footer-icons">
<a href="https://www.youtube.com/@bugdetector" target="_blank" class="icons"><i
class="fa-brands fa-youtube"></i></a>
</div>
<div class="footer-icons">
<a href="https://github.com/Ctoic" target="_blank" class="icons"><i class="fa-brands fa-github"></i></a>
</div>
<div class="footer-icons">
<a href="https://c3akademia.com/" target="_blank" class="icons"><i class="fa-brands fa-linkedin-in"></i></a>
</div>
<div class="footer-icons">
<a href="https://www.instagram.com/dev_with_ctoic" target="_blank" class="icons"><i
class="fa-brands fa-instagram"></i></a>
</div>
<div class="footer-icons">
<a href="https://twitter.com/Ct0ic" target="_blank" class="icons"><i class="fa-brands fa-twitter"></i></a>
</div>
</div>
</div>
</div>
</footer>
</html>