-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
418 lines (418 loc) · 22.2 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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Currency Converter</title>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<link rel="icon" href="site-data/favicon.ico" type="image/x-icon">
<link rel="apple-touch-icon" sizes="180x180" href="site-data/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="site-data/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="site-data/favicon-16x16.png">
<link rel="manifest" href="site-data/site.webmanifest">
</head>
<body>
<div class="container">
<h1>Currency Converter</h1>
<p>Convert currencies easily!</p>
<div class="converter">
<div class="input-group">
<input type="text" id="from" placeholder="Enter amount">
<select id="fromCurrency">
<option value="AFN">Afghan Afghani</option>
<option value="ALL">Albanian Lek</option>
<option value="AMD">Armenian Dram</option>
<option value="ANG">NL Antillean Guilder</option>
<option value="AOA">Angolan Kwanza</option>
<option value="ARS">Argentine Peso</option>
<option value="AUD">Australian Dollar</option>
<option value="AWG">Aruban Florin</option>
<option value="AZN">Azerbaijani Manat</option>
<option value="BAM">Bosnia-Herzegovina Convertible Mark</option>
<option value="BBD">Barbadian Dollar</option>
<option value="BDT">Bangladeshi Taka</option>
<option value="BGN">Bulgarian Lev</option>
<option value="BHD">Bahraini Dinar</option>
<option value="BIF">Burundian Franc</option>
<option value="BMD">Bermudan Dollar</option>
<option value="BND">Brunei Dollar</option>
<option value="BOB">Bolivian Boliviano</option>
<option value="BRL">Brazilian Real</option>
<option value="BSD">Bahamian Dollar</option>
<option value="BWP">Botswanan Pula</option>
<option value="BYN">Belarusian ruble</option>
<option value="BYR">Belarusian Ruble</option>
<option value="BZD">Belize Dollar</option>
<option value="CAD">Canadian Dollar</option>
<option value="CDF">Congolese Franc</option>
<option value="CHF">Swiss Franc</option>
<option value="CLF">Unidad de Fomento</option>
<option value="CLP">Chilean Peso</option>
<option value="CNY">Chinese Yuan</option>
<option value="COP">Coombian Peso</option>
<option value="CRC">Costa Rican Colón</option>
<option value="CUC">Cuban Convertible Peso</option>
<option value="CUP">Cuban Peso</option>
<option value="CVE">Cape Verdean Escudo</option>
<option value="CZK">Czech Republic Koruna</option>
<option value="DJF">Djiboutian Franc</option>
<option value="DKK">Danish Krone</option>
<option value="DOP">Dominican Peso</option>
<option value="DZD">Algerian Dinar</option>
<option value="ERN">Eritrean Nakfa</option>
<option value="ETB">Ethiopian Birr</option>
<option value="EUR">Euro</option>
<option value="FJD">Fijian Dollar</option>
<option value="FKP">Falkland Islands Pound</option>
<option value="GBP">British Pound Sterling</option>
<option value="GEL">Georgian Lari</option>
<option value="GGP">Guernsey pound</option>
<option value="GHS">Ghanaian Cedi</option>
<option value="GIP">Gibraltar Pound</option>
<option value="GMD">Gambian Dalasi</option>
<option value="GNF">Guinean Franc</option>
<option value="GTQ">Guatemalan Quetzal</option>
<option value="GYD">Guyanaese Dollar</option>
<option value="HKD">Hong Kong Dollar</option>
<option value="HNL">Honduran Lempira</option>
<option value="HRK">Croatian Kuna</option>
<option value="HTG">Haitian Gourde</option>
<option value="HUF">Hungarian Forint</option>
<option value="IDR">Indonesian Rupiah</option>
<option value="ILS">Israeli New Sheqel</option>
<option value="IMP">Manx pound</option>
<option value="IQD">Iraqi Dinar</option>
<option value="IRR">Iranian Rial</option>
<option value="ISK">Icelandic Króna</option>
<option value="JEP">Jersey pound</option>
<option value="JMD">Jamaican Dollar</option>
<option value="JOD">Jordanian Dinar</option>
<option value="JPY">Japanese Yen</option>
<option value="KES">Kenyan Shilling</option>
<option value="KGS">Kyrgystani Som</option>
<option value="KHR">Cambodian Riel</option>
<option value="KMF">Comorian Franc</option>
<option value="KPW">North Korean Won</option>
<option value="KRW">South Korean Won</option>
<option value="KWD">Kuwaiti Dinar</option>
<option value="KYD">Cayman Islands Dollar</option>
<option value="KZT">Kazakhstani Tenge</option>
<option value="LAK">Laotian Kip</option>
<option value="LBP">Lebanese Pound</option>
<option value="LKR">Sri Lankan Rupee</option>
<option value="LRD">Liberian Dollar</option>
<option value="LSL">Lesotho Loti</option>
<option value="LTL">Lithuanian Litas</option>
<option value="LVL">Latvian Lats</option>
<option value="MAD">Moroccan Dirham</option>
<option value="MDL">Moldovan Leu</option>
<option value="XAG">Silver Ounce</option>
<option value="XAU">Gold Ounce</option>
<option value="XCD">East Caribbean Dollar</option>
<option value="XDR">Special drawing rights</option>
<option value="XOF">CFA Franc BCEAO</option>
<option value="XPF">CFP Franc</option>
<option value="YER">Yemeni Rial</option>
<option value="ZAR">South African Rand</option>
<option value="ZMK">Zambian Kwacha</option>
<option value="ZMW">Zambian Kwacha</option>
<option value="ZWL">Zimbabwean dollar</option>
<option value="XPT">Platinum Ounce</option>
<option value="XPD">Palladium Ounce</option>
<option value="BTC">Bitcoin</option>
<option value="ETH">Ethereum</option>
<option value="BNB">Binance</option>
<option value="XRP">Ripple</option>
<option value="SOL">Solana</option>
<option value="DOT">Polkadot</option>
<option value="AVAX">Avalanche</option>
<option value="MATIC">Matic Token</option>
<option value="LTC">Litecoin</option>
<option value="ADA">Cardano</option>
<option value="USDT">Tether</option>
<option value="USDC">USD Coin</option>
<option value="DAI">Dai</option>
<option value="BUSD">Binance USD</option>
<option value="ARB">Arbitrum</option>
<option value="OP">Optimism</option>
<option value="AED">United Arab Emirates Dirham</option>
<option value="BTN">Bhutanese Ngultrum</option>
<option value="MKD">Macedonian Denar</option>
<option value="MMK">Myanma Kyat</option>
<option value="MNT">Mongolian Tugrik</option>
<option value="MOP">Macanese Pataca</option>
<option value="MRO">Mauritanian ouguiya</option>
<option value="MUR">Mauritian Rupee</option>
<option value="MVR">Maldivian Rufiyaa</option>
<option value="MWK">Malawian Kwacha</option>
<option value="MXN">Mexican Peso</option>
<option value="MZN">Mozambican Metical</option>
<option value="NAD">Namibian Dollar</option>
<option value="NGN">Nigerian Naira</option>
<option value="NIO">Nicaraguan Córdoba</option>
<option value="NOK">Norwegian Krone</option>
<option value="NPR">Nepalese Rupee</option>
<option value="NZD">New Zealand Dollar</option>
<option value="OMR">Omani Rial</option>
<option value="PAB">Panamanian Balboa</option>
<option value="PEN">Peruvian Nuevo Sol</option>
<option value="PGK">Papua New Guinean Kina</option>
<option value="PHP">Philippine Peso</option>
<option value="PKR">Pakistani Rupee</option>
<option value="PLN">Polish Zloty</option>
<option value="PYG">Paraguayan Guarani</option>
<option value="QAR">Qatari Rial</option>
<option value="RON">Romanian Leu</option>
<option value="RSD">Serbian Dinar</option>
<option value="RUB">Russian Ruble</option>
<option value="RWF">Rwandan Franc</option>
<option value="SAR">Saudi Riyal</option>
<option value="SCR">Seychellois Rupee</option>
<option value="SDG">Sudanese Pound</option>
<option value="SEK">Swedish Krona</option>
<option value="SGD">Singapore Dollar</option>
<option value="SHP">Saint Helena Pound</option>
<option value="SLL">Sierra Leonean Leone</option>
<option value="SOS">Somali Shilling</option>
<option value="SRD">Surinamese Dollar</option>
<option value="STD">São Tomé and Príncipe dobra</option>
<option value="SVC">Salvadoran Colón</option>
<option value="SYP">Syrian Pound</option>
<option value="SZL">Swazi Lilangeni</option>
<option value="THB">Thai Baht</option>
<option value="TJS">Tajikistani Somoni</option>
<option value="TMT">Turkmenistani Manat</option>
<option value="TND">Tunisian Dinar</option>
<option value="TOP">Tongan Paʻanga</option>
<option value="TRY">Turkish Lira</option>
<option value="TTD">Trinidad and Tobago Dollar</option>
<option value="TWD">New Taiwan Dollar</option>
<option value="TZS">Tanzanian Shilling</option>
<option value="UAH">Ukrainian Hryvnia</option>
<option value="UGX">Ugandan Shilling</option>
<option value="USD">US Dollar</option>
<option value="UYU">Uruguayan Peso</option>
<option value="VEF">Venezuelan Bolívar</option>
<option value="VND">Vietnamese Dong</option>
<option value="VUV">Vanuatu Vatu</option>
<option value="WST">Samoan Tala</option>
<option value="XAF">CFA Franc BEAC</option>
<option value="EGP">Egyptian Pound</option>
<option value="INR">Indian Rupee</option>
<option value="LYD">Libyan Dinar</option>
<option value="MGA">Malagasy Ariary</option>
<option value="MYR">Malaysian Ringgit</option>
<option value="SBD">Solomon Islands Dollar</option>
<option value="UZS">Uzbekistan Som</option>
</select>
</div>
<div class="swap-icon">⇄</div>
<div class="input-group">
<input type="text" id="to" placeholder="Result" readonly>
<select id="toCurrency">
<option value="AFN">Afghan Afghani</option>
<option value="ALL">Albanian Lek</option>
<option value="AMD">Armenian Dram</option>
<option value="ANG">NL Antillean Guilder</option>
<option value="AOA">Angolan Kwanza</option>
<option value="ARS">Argentine Peso</option>
<option value="AUD">Australian Dollar</option>
<option value="AWG">Aruban Florin</option>
<option value="AZN">Azerbaijani Manat</option>
<option value="BAM">Bosnia-Herzegovina Convertible Mark</option>
<option value="BBD">Barbadian Dollar</option>
<option value="BDT">Bangladeshi Taka</option>
<option value="BGN">Bulgarian Lev</option>
<option value="BHD">Bahraini Dinar</option>
<option value="BIF">Burundian Franc</option>
<option value="BMD">Bermudan Dollar</option>
<option value="BND">Brunei Dollar</option>
<option value="BOB">Bolivian Boliviano</option>
<option value="BRL">Brazilian Real</option>
<option value="BSD">Bahamian Dollar</option>
<option value="BWP">Botswanan Pula</option>
<option value="BYN">Belarusian ruble</option>
<option value="BYR">Belarusian Ruble</option>
<option value="BZD">Belize Dollar</option>
<option value="CAD">Canadian Dollar</option>
<option value="CDF">Congolese Franc</option>
<option value="CHF">Swiss Franc</option>
<option value="CLF">Unidad de Fomento</option>
<option value="CLP">Chilean Peso</option>
<option value="CNY">Chinese Yuan</option>
<option value="COP">Coombian Peso</option>
<option value="CRC">Costa Rican Colón</option>
<option value="CUC">Cuban Convertible Peso</option>
<option value="CUP">Cuban Peso</option>
<option value="CVE">Cape Verdean Escudo</option>
<option value="CZK">Czech Republic Koruna</option>
<option value="DJF">Djiboutian Franc</option>
<option value="DKK">Danish Krone</option>
<option value="DOP">Dominican Peso</option>
<option value="DZD">Algerian Dinar</option>
<option value="ERN">Eritrean Nakfa</option>
<option value="ETB">Ethiopian Birr</option>
<option value="EUR">Euro</option>
<option value="FJD">Fijian Dollar</option>
<option value="FKP">Falkland Islands Pound</option>
<option value="GBP">British Pound Sterling</option>
<option value="GEL">Georgian Lari</option>
<option value="GGP">Guernsey pound</option>
<option value="GHS">Ghanaian Cedi</option>
<option value="GIP">Gibraltar Pound</option>
<option value="GMD">Gambian Dalasi</option>
<option value="GNF">Guinean Franc</option>
<option value="GTQ">Guatemalan Quetzal</option>
<option value="GYD">Guyanaese Dollar</option>
<option value="HKD">Hong Kong Dollar</option>
<option value="HNL">Honduran Lempira</option>
<option value="HRK">Croatian Kuna</option>
<option value="HTG">Haitian Gourde</option>
<option value="HUF">Hungarian Forint</option>
<option value="IDR">Indonesian Rupiah</option>
<option value="ILS">Israeli New Sheqel</option>
<option value="IMP">Manx pound</option>
<option value="IQD">Iraqi Dinar</option>
<option value="IRR">Iranian Rial</option>
<option value="ISK">Icelandic Króna</option>
<option value="JEP">Jersey pound</option>
<option value="JMD">Jamaican Dollar</option>
<option value="JOD">Jordanian Dinar</option>
<option value="JPY">Japanese Yen</option>
<option value="KES">Kenyan Shilling</option>
<option value="KGS">Kyrgystani Som</option>
<option value="KHR">Cambodian Riel</option>
<option value="KMF">Comorian Franc</option>
<option value="KPW">North Korean Won</option>
<option value="KRW">South Korean Won</option>
<option value="KWD">Kuwaiti Dinar</option>
<option value="KYD">Cayman Islands Dollar</option>
<option value="KZT">Kazakhstani Tenge</option>
<option value="LAK">Laotian Kip</option>
<option value="LBP">Lebanese Pound</option>
<option value="LKR">Sri Lankan Rupee</option>
<option value="LRD">Liberian Dollar</option>
<option value="LSL">Lesotho Loti</option>
<option value="LTL">Lithuanian Litas</option>
<option value="LVL">Latvian Lats</option>
<option value="MAD">Moroccan Dirham</option>
<option value="MDL">Moldovan Leu</option>
<option value="XAG">Silver Ounce</option>
<option value="XAU">Gold Ounce</option>
<option value="XCD">East Caribbean Dollar</option>
<option value="XDR">Special drawing rights</option>
<option value="XOF">CFA Franc BCEAO</option>
<option value="XPF">CFP Franc</option>
<option value="YER">Yemeni Rial</option>
<option value="ZAR">South African Rand</option>
<option value="ZMK">Zambian Kwacha</option>
<option value="ZMW">Zambian Kwacha</option>
<option value="ZWL">Zimbabwean dollar</option>
<option value="XPT">Platinum Ounce</option>
<option value="XPD">Palladium Ounce</option>
<option value="BTC">Bitcoin</option>
<option value="ETH">Ethereum</option>
<option value="BNB">Binance</option>
<option value="XRP">Ripple</option>
<option value="SOL">Solana</option>
<option value="DOT">Polkadot</option>
<option value="AVAX">Avalanche</option>
<option value="MATIC">Matic Token</option>
<option value="LTC">Litecoin</option>
<option value="ADA">Cardano</option>
<option value="USDT">Tether</option>
<option value="USDC">USD Coin</option>
<option value="DAI">Dai</option>
<option value="BUSD">Binance USD</option>
<option value="ARB">Arbitrum</option>
<option value="OP">Optimism</option>
<option value="AED">United Arab Emirates Dirham</option>
<option value="BTN">Bhutanese Ngultrum</option>
<option value="MKD">Macedonian Denar</option>
<option value="MMK">Myanma Kyat</option>
<option value="MNT">Mongolian Tugrik</option>
<option value="MOP">Macanese Pataca</option>
<option value="MRO">Mauritanian ouguiya</option>
<option value="MUR">Mauritian Rupee</option>
<option value="MVR">Maldivian Rufiyaa</option>
<option value="MWK">Malawian Kwacha</option>
<option value="MXN">Mexican Peso</option>
<option value="MZN">Mozambican Metical</option>
<option value="NAD">Namibian Dollar</option>
<option value="NGN">Nigerian Naira</option>
<option value="NIO">Nicaraguan Córdoba</option>
<option value="NOK">Norwegian Krone</option>
<option value="NPR">Nepalese Rupee</option>
<option value="NZD">New Zealand Dollar</option>
<option value="OMR">Omani Rial</option>
<option value="PAB">Panamanian Balboa</option>
<option value="PEN">Peruvian Nuevo Sol</option>
<option value="PGK">Papua New Guinean Kina</option>
<option value="PHP">Philippine Peso</option>
<option value="PKR">Pakistani Rupee</option>
<option value="PLN">Polish Zloty</option>
<option value="PYG">Paraguayan Guarani</option>
<option value="QAR">Qatari Rial</option>
<option value="RON">Romanian Leu</option>
<option value="RSD">Serbian Dinar</option>
<option value="RUB">Russian Ruble</option>
<option value="RWF">Rwandan Franc</option>
<option value="SAR">Saudi Riyal</option>
<option value="SCR">Seychellois Rupee</option>
<option value="SDG">Sudanese Pound</option>
<option value="SEK">Swedish Krona</option>
<option value="SGD">Singapore Dollar</option>
<option value="SHP">Saint Helena Pound</option>
<option value="SLL">Sierra Leonean Leone</option>
<option value="SOS">Somali Shilling</option>
<option value="SRD">Surinamese Dollar</option>
<option value="STD">São Tomé and Príncipe dobra</option>
<option value="SVC">Salvadoran Colón</option>
<option value="SYP">Syrian Pound</option>
<option value="SZL">Swazi Lilangeni</option>
<option value="THB">Thai Baht</option>
<option value="TJS">Tajikistani Somoni</option>
<option value="TMT">Turkmenistani Manat</option>
<option value="TND">Tunisian Dinar</option>
<option value="TOP">Tongan Paʻanga</option>
<option value="TRY">Turkish Lira</option>
<option value="TTD">Trinidad and Tobago Dollar</option>
<option value="TWD">New Taiwan Dollar</option>
<option value="TZS">Tanzanian Shilling</option>
<option value="UAH">Ukrainian Hryvnia</option>
<option value="UGX">Ugandan Shilling</option>
<option value="USD">US Dollar</option>
<option value="UYU">Uruguayan Peso</option>
<option value="VEF">Venezuelan Bolívar</option>
<option value="VND">Vietnamese Dong</option>
<option value="VUV">Vanuatu Vatu</option>
<option value="WST">Samoan Tala</option>
<option value="XAF">CFA Franc BEAC</option>
<option value="EGP">Egyptian Pound</option>
<option value="INR">Indian Rupee</option>
<option value="LYD">Libyan Dinar</option>
<option value="MGA">Malagasy Ariary</option>
<option value="MYR">Malaysian Ringgit</option>
<option value="SBD">Solomon Islands Dollar</option>
<option value="UZS">Uzbekistan Som</option>
</select>
</div>
</div>
<div id="exchangeRate"></div>
<div id="lastUpdated"></div>
</div>
<footer>
<a href="https://discord.com/invite/2nHHHBWNDw" target="_blank">
<i class="fab fa-discord"></i>
</a>
<a href="https://ko-fi.com/thatsinewave" target="_blank">
<i class="fas fa-heart"></i>
</a>
<a href="https://github.com/ThatSINEWAVE/CurrencyConverter" target="_blank">
<i class="fab fa-github"></i>
</a>
</footer>
<script src="script.js"></script>
</body>
</html>