-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
367 lines (362 loc) · 21.1 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
<!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">
<link rel="stylesheet" href="index.css">
<title>Currency Calculator</title>
</head>
<body>
<div class="main">
<div class="from">
<p style="display: inline;"><b>From.</b></p>
<select class="form-select" aria-label="Default select example" id="currency-one">
<option value="AFN">Afghan Afghani</option>
<option value="ALL">Albanian Lek</option>
<option value="DZD">Algerian Dinar</option>
<option value="AOA">Angolan Kwanza</option>
<option value="ARS">Argentine Peso</option>
<option value="AMD">Armenian Dram</option>
<option value="AWG">Aruban Florin</option>
<option value="AUD">Australian Dollar</option>
<option value="AZN">Azerbaijani Manat</option>
<option value="BSD">Bahamian Dollar</option>
<option value="BHD">Bahraini Dinar</option>
<option value="BDT">Bangladeshi Taka</option>
<option value="BBD">Barbadian Dollar</option>
<option value="BYR">Belarusian Ruble</option>
<option value="BEF">Belgian Franc</option>
<option value="BZD">Belize Dollar</option>
<option value="BMD">Bermudan Dollar</option>
<option value="BTN">Bhutanese Ngultrum</option>
<option value="BTC">Bitcoin</option>
<option value="BOB">Bolivian Boliviano</option>
<option value="BAM">Bosnia-Herzegovina Convertible Mark</option>
<option value="BWP">Botswanan Pula</option>
<option value="BRL">Brazilian Real</option>
<option value="GBP">British Pound Sterling</option>
<option value="BND">Brunei Dollar</option>
<option value="BGN">Bulgarian Lev</option>
<option value="BIF">Burundian Franc</option>
<option value="KHR">Cambodian Riel</option>
<option value="CAD">Canadian Dollar</option>
<option value="CVE">Cape Verdean Escudo</option>
<option value="KYD">Cayman Islands Dollar</option>
<option value="XOF">CFA Franc BCEAO</option>
<option value="XAF">CFA Franc BEAC</option>
<option value="XPF">CFP Franc</option>
<option value="CLP">Chilean Peso</option>
<option value="CNY">Chinese Yuan</option>
<option value="COP">Colombian Peso</option>
<option value="KMF">Comorian Franc</option>
<option value="CDF">Congolese Franc</option>
<option value="CRC">Costa Rican Colón</option>
<option value="HRK">Croatian Kuna</option>
<option value="CUC">Cuban Convertible Peso</option>
<option value="CZK">Czech Republic Koruna</option>
<option value="DKK">Danish Krone</option>
<option value="DJF">Djiboutian Franc</option>
<option value="DOP">Dominican Peso</option>
<option value="XCD">East Caribbean Dollar</option>
<option value="EGP">Egyptian Pound</option>
<option value="ERN">Eritrean Nakfa</option>
<option value="EEK">Estonian Kroon</option>
<option value="ETB">Ethiopian Birr</option>
<option value="EUR">Euro</option>
<option value="FKP">Falkland Islands Pound</option>
<option value="FJD">Fijian Dollar</option>
<option value="GMD">Gambian Dalasi</option>
<option value="GEL">Georgian Lari</option>
<option value="DEM">German Mark</option>
<option value="GHS">Ghanaian Cedi</option>
<option value="GIP">Gibraltar Pound</option>
<option value="GRD">Greek Drachma</option>
<option value="GTQ">Guatemalan Quetzal</option>
<option value="GNF">Guinean Franc</option>
<option value="GYD">Guyanaese Dollar</option>
<option value="HTG">Haitian Gourde</option>
<option value="HNL">Honduran Lempira</option>
<option value="HKD">Hong Kong Dollar</option>
<option value="HUF">Hungarian Forint</option>
<option value="ISK">Icelandic Króna</option>
<option value="INR">Indian Rupee</option>
<option value="IDR">Indonesian Rupiah</option>
<option value="IRR">Iranian Rial</option>
<option value="IQD">Iraqi Dinar</option>
<option value="ILS">Israeli New Sheqel</option>
<option value="ITL">Italian Lira</option>
<option value="JMD">Jamaican Dollar</option>
<option value="JPY">Japanese Yen</option>
<option value="JOD">Jordanian Dinar</option>
<option value="KZT">Kazakhstani Tenge</option>
<option value="KES">Kenyan Shilling</option>
<option value="KWD">Kuwaiti Dinar</option>
<option value="KGS">Kyrgystani Som</option>
<option value="LAK">Laotian Kip</option>
<option value="LVL">Latvian Lats</option>
<option value="LBP">Lebanese Pound</option>
<option value="LSL">Lesotho Loti</option>
<option value="LRD">Liberian Dollar</option>
<option value="LYD">Libyan Dinar</option>
<option value="LTL">Lithuanian Litas</option>
<option value="MOP">Macanese Pataca</option>
<option value="MKD">Macedonian Denar</option>
<option value="MGA">Malagasy Ariary</option>
<option value="MWK">Malawian Kwacha</option>
<option value="MYR">Malaysian Ringgit</option>
<option value="MVR">Maldivian Rufiyaa</option>
<option value="MRO">Mauritanian Ouguiya</option>
<option value="MUR">Mauritian Rupee</option>
<option value="MXN">Mexican Peso</option>
<option value="MDL">Moldovan Leu</option>
<option value="MNT">Mongolian Tugrik</option>
<option value="MAD">Moroccan Dirham</option>
<option value="MZM">Mozambican Metical</option>
<option value="MMK">Myanmar Kyat</option>
<option value="NAD">Namibian Dollar</option>
<option value="NPR">Nepalese Rupee</option>
<option value="ANG">Netherlands Antillean Guilder</option>
<option value="TWD">New Taiwan Dollar</option>
<option value="NZD">New Zealand Dollar</option>
<option value="NIO">Nicaraguan Córdoba</option>
<option value="NGN">Nigerian Naira</option>
<option value="KPW">North Korean Won</option>
<option value="NOK">Norwegian Krone</option>
<option value="OMR">Omani Rial</option>
<option value="PKR">Pakistani Rupee</option>
<option value="PAB">Panamanian Balboa</option>
<option value="PGK">Papua New Guinean Kina</option>
<option value="PYG">Paraguayan Guarani</option>
<option value="PEN">Peruvian Nuevo Sol</option>
<option value="PHP">Philippine Peso</option>
<option value="PLN">Polish Zloty</option>
<option value="QAR">Qatari Rial</option>
<option value="RON">Romanian Leu</option>
<option value="RUB">Russian Ruble</option>
<option value="RWF">Rwandan Franc</option>
<option value="SVC">Salvadoran Colón</option>
<option value="WST">Samoan Tala</option>
<option value="SAR">Saudi Riyal</option>
<option value="RSD">Serbian Dinar</option>
<option value="SCR">Seychellois Rupee</option>
<option value="SLL">Sierra Leonean Leone</option>
<option value="SGD">Singapore Dollar</option>
<option value="SKK">Slovak Koruna</option>
<option value="SBD">Solomon Islands Dollar</option>
<option value="SOS">Somali Shilling</option>
<option value="ZAR">South African Rand</option>
<option value="KRW">South Korean Won</option>
<option value="XDR">Special Drawing Rights</option>
<option value="LKR">Sri Lankan Rupee</option>
<option value="SHP">St. Helena Pound</option>
<option value="SDG">Sudanese Pound</option>
<option value="SRD">Surinamese Dollar</option>
<option value="SZL">Swazi Lilangeni</option>
<option value="SEK">Swedish Krona</option>
<option value="CHF">Swiss Franc</option>
<option value="SYP">Syrian Pound</option>
<option value="STD">São Tomé and Príncipe Dobra</option>
<option value="TJS">Tajikistani Somoni</option>
<option value="TZS">Tanzanian Shilling</option>
<option value="THB">Thai Baht</option>
<option value="TOP">Tongan pa'anga</option>
<option value="TTD">Trinidad & Tobago Dollar</option>
<option value="TND">Tunisian Dinar</option>
<option value="TRY">Turkish Lira</option>
<option value="TMT">Turkmenistani Manat</option>
<option value="UGX">Ugandan Shilling</option>
<option value="UAH">Ukrainian Hryvnia</option>
<option value="AED">United Arab Emirates Dirham</option>
<option value="UYU">Uruguayan Peso</option>
<option selected value="USD">US Dollar</option>
<option value="UZS">Uzbekistan Som</option>
<option value="VUV">Vanuatu Vatu</option>
<option value="VEF">Venezuelan BolÃvar</option>
<option value="VND">Vietnamese Dong</option>
<option value="YER">Yemeni Rial</option>
<option value="ZMK">Zambian Kwacha</option>
</select>
</div>
<div class="To">
<p style="display: inline;"><b>To.</b></p>
<select class="form-select" aria-label="Default select example" id="currency-two">
<option selected value="AFN">Afghan Afghani</option>
<option value="ALL">Albanian Lek</option>
<option value="DZD">Algerian Dinar</option>
<option value="AOA">Angolan Kwanza</option>
<option value="ARS">Argentine Peso</option>
<option value="AMD">Armenian Dram</option>
<option value="AWG">Aruban Florin</option>
<option value="AUD">Australian Dollar</option>
<option value="AZN">Azerbaijani Manat</option>
<option value="BSD">Bahamian Dollar</option>
<option value="BHD">Bahraini Dinar</option>
<option value="BDT">Bangladeshi Taka</option>
<option value="BBD">Barbadian Dollar</option>
<option value="BYR">Belarusian Ruble</option>
<option value="BEF">Belgian Franc</option>
<option value="BZD">Belize Dollar</option>
<option value="BMD">Bermudan Dollar</option>
<option value="BTN">Bhutanese Ngultrum</option>
<option value="BTC">Bitcoin</option>
<option value="BOB">Bolivian Boliviano</option>
<option value="BAM">Bosnia-Herzegovina Convertible Mark</option>
<option value="BWP">Botswanan Pula</option>
<option value="BRL">Brazilian Real</option>
<option value="GBP">British Pound Sterling</option>
<option value="BND">Brunei Dollar</option>
<option value="BGN">Bulgarian Lev</option>
<option value="BIF">Burundian Franc</option>
<option value="KHR">Cambodian Riel</option>
<option value="CAD">Canadian Dollar</option>
<option value="CVE">Cape Verdean Escudo</option>
<option value="KYD">Cayman Islands Dollar</option>
<option value="XOF">CFA Franc BCEAO</option>
<option value="XAF">CFA Franc BEAC</option>
<option value="XPF">CFP Franc</option>
<option value="CLP">Chilean Peso</option>
<option value="CNY">Chinese Yuan</option>
<option value="COP">Colombian Peso</option>
<option value="KMF">Comorian Franc</option>
<option value="CDF">Congolese Franc</option>
<option value="CRC">Costa Rican Colón</option>
<option value="HRK">Croatian Kuna</option>
<option value="CUC">Cuban Convertible Peso</option>
<option value="CZK">Czech Republic Koruna</option>
<option value="DKK">Danish Krone</option>
<option value="DJF">Djiboutian Franc</option>
<option value="DOP">Dominican Peso</option>
<option value="XCD">East Caribbean Dollar</option>
<option value="EGP">Egyptian Pound</option>
<option value="ERN">Eritrean Nakfa</option>
<option value="EEK">Estonian Kroon</option>
<option value="ETB">Ethiopian Birr</option>
<option value="EUR">Euro</option>
<option value="FKP">Falkland Islands Pound</option>
<option value="FJD">Fijian Dollar</option>
<option value="GMD">Gambian Dalasi</option>
<option value="GEL">Georgian Lari</option>
<option value="DEM">German Mark</option>
<option value="GHS">Ghanaian Cedi</option>
<option value="GIP">Gibraltar Pound</option>
<option value="GRD">Greek Drachma</option>
<option value="GTQ">Guatemalan Quetzal</option>
<option value="GNF">Guinean Franc</option>
<option value="GYD">Guyanaese Dollar</option>
<option value="HTG">Haitian Gourde</option>
<option value="HNL">Honduran Lempira</option>
<option value="HKD">Hong Kong Dollar</option>
<option value="HUF">Hungarian Forint</option>
<option value="ISK">Icelandic Króna</option>
<option value="INR">Indian Rupee</option>
<option value="IDR">Indonesian Rupiah</option>
<option value="IRR">Iranian Rial</option>
<option value="IQD">Iraqi Dinar</option>
<option value="ILS">Israeli New Sheqel</option>
<option value="ITL">Italian Lira</option>
<option value="JMD">Jamaican Dollar</option>
<option value="JPY">Japanese Yen</option>
<option value="JOD">Jordanian Dinar</option>
<option value="KZT">Kazakhstani Tenge</option>
<option value="KES">Kenyan Shilling</option>
<option value="KWD">Kuwaiti Dinar</option>
<option value="KGS">Kyrgystani Som</option>
<option value="LAK">Laotian Kip</option>
<option value="LVL">Latvian Lats</option>
<option value="LBP">Lebanese Pound</option>
<option value="LSL">Lesotho Loti</option>
<option value="LRD">Liberian Dollar</option>
<option value="LYD">Libyan Dinar</option>
<option value="LTL">Lithuanian Litas</option>
<option value="MOP">Macanese Pataca</option>
<option value="MKD">Macedonian Denar</option>
<option value="MGA">Malagasy Ariary</option>
<option value="MWK">Malawian Kwacha</option>
<option value="MYR">Malaysian Ringgit</option>
<option value="MVR">Maldivian Rufiyaa</option>
<option value="MRO">Mauritanian Ouguiya</option>
<option value="MUR">Mauritian Rupee</option>
<option value="MXN">Mexican Peso</option>
<option value="MDL">Moldovan Leu</option>
<option value="MNT">Mongolian Tugrik</option>
<option value="MAD">Moroccan Dirham</option>
<option value="MZM">Mozambican Metical</option>
<option value="MMK">Myanmar Kyat</option>
<option value="NAD">Namibian Dollar</option>
<option value="NPR">Nepalese Rupee</option>
<option value="ANG">Netherlands Antillean Guilder</option>
<option value="TWD">New Taiwan Dollar</option>
<option value="NZD">New Zealand Dollar</option>
<option value="NIO">Nicaraguan Córdoba</option>
<option value="NGN">Nigerian Naira</option>
<option value="KPW">North Korean Won</option>
<option value="NOK">Norwegian Krone</option>
<option value="OMR">Omani Rial</option>
<option value="PKR">Pakistani Rupee</option>
<option value="PAB">Panamanian Balboa</option>
<option value="PGK">Papua New Guinean Kina</option>
<option value="PYG">Paraguayan Guarani</option>
<option value="PEN">Peruvian Nuevo Sol</option>
<option value="PHP">Philippine Peso</option>
<option value="PLN">Polish Zloty</option>
<option value="QAR">Qatari Rial</option>
<option value="RON">Romanian Leu</option>
<option value="RUB">Russian Ruble</option>
<option value="RWF">Rwandan Franc</option>
<option value="SVC">Salvadoran Colón</option>
<option value="WST">Samoan Tala</option>
<option value="SAR">Saudi Riyal</option>
<option value="RSD">Serbian Dinar</option>
<option value="SCR">Seychellois Rupee</option>
<option value="SLL">Sierra Leonean Leone</option>
<option value="SGD">Singapore Dollar</option>
<option value="SKK">Slovak Koruna</option>
<option value="SBD">Solomon Islands Dollar</option>
<option value="SOS">Somali Shilling</option>
<option value="ZAR">South African Rand</option>
<option value="KRW">South Korean Won</option>
<option value="XDR">Special Drawing Rights</option>
<option value="LKR">Sri Lankan Rupee</option>
<option value="SHP">St. Helena Pound</option>
<option value="SDG">Sudanese Pound</option>
<option value="SRD">Surinamese Dollar</option>
<option value="SZL">Swazi Lilangeni</option>
<option value="SEK">Swedish Krona</option>
<option value="CHF">Swiss Franc</option>
<option value="SYP">Syrian Pound</option>
<option value="STD">São Tomé and Príncipe Dobra</option>
<option value="TJS">Tajikistani Somoni</option>
<option value="TZS">Tanzanian Shilling</option>
<option value="THB">Thai Baht</option>
<option value="TOP">Tongan pa'anga</option>
<option value="TTD">Trinidad & Tobago Dollar</option>
<option value="TND">Tunisian Dinar</option>
<option value="TRY">Turkish Lira</option>
<option value="TMT">Turkmenistani Manat</option>
<option value="UGX">Ugandan Shilling</option>
<option value="UAH">Ukrainian Hryvnia</option>
<option value="AED">United Arab Emirates Dirham</option>
<option value="UYU">Uruguayan Peso</option>
<option value="USD">US Dollar</option>
<option value="UZS">Uzbekistan Som</option>
<option value="VUV">Vanuatu Vatu</option>
<option value="VEF">Venezuelan BolÃvar</option>
<option value="VND">Vietnamese Dong</option>
<option value="YER">Yemeni Rial</option>
<option value="ZMK">Zambian Kwacha</option>
</select>
</div>
<div class="amount">
<p style="display: inline;"><b>Amount.</b></p>
<input type="number" id="amount">
</div>
<div class="cal">
<button class="btn" id="convert-btn" onclick="calculate()">Convert</button>
</div>
<p id="Ans-one"></p>
<P id="Ans-second"></P>
</div>
<script src="index.js"></script>
</body>
</html>