2020-05-30 12:11:35 +01:00
|
|
|
<!DOCTYPE html>
|
2020-06-20 14:06:35 +01:00
|
|
|
<html lang='en'>
|
2020-05-30 12:11:35 +01:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
2020-06-20 14:06:35 +01:00
|
|
|
<meta name="author" content="Xaloc">
|
2020-06-24 01:23:30 +01:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
2020-06-18 21:46:50 +01:00
|
|
|
<title>Currency Converter</title>
|
2020-05-30 12:11:35 +01:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
2020-06-21 23:58:58 +01:00
|
|
|
<h3>Conversion</h3>
|
|
|
|
From: <select id='curr'>
|
2020-05-30 12:11:35 +01:00
|
|
|
<option value='EUR'>EUR</option>
|
|
|
|
<option value='USD'>USD</option>
|
|
|
|
<option value='SEK'>SEK</option>
|
|
|
|
<option value='JPY'>JPY</option>
|
|
|
|
<option value='GBP'>GBP</option>
|
2020-06-18 22:16:47 +01:00
|
|
|
<option value='INR'>INR</option>
|
|
|
|
<option value='ISK'>ISK</option>
|
|
|
|
<option value='DKK'>DKK</option>
|
|
|
|
<option value='RON'>RON</option>
|
|
|
|
<option value='NOK'>NOK</option>
|
2020-05-30 12:11:35 +01:00
|
|
|
</select>
|
|
|
|
|
|
|
|
<input type='number' id='val' step='0.01'>
|
|
|
|
|
2020-06-21 23:58:58 +01:00
|
|
|
To: <select id='curr2'>
|
2020-05-30 12:11:35 +01:00
|
|
|
<option value='USD'>USD</option>
|
|
|
|
<option value='EUR'>EUR</option>
|
|
|
|
<option value='SEK'>SEK</option>
|
|
|
|
<option value='JPY'>JPY</option>
|
|
|
|
<option value='GBP'>GBP</option>
|
2020-06-18 22:16:47 +01:00
|
|
|
<option value='INR'>INR</option>
|
|
|
|
<option value='ISK'>ISK</option>
|
|
|
|
<option value='DKK'>DKK</option>
|
|
|
|
<option value='RON'>RON</option>
|
|
|
|
<option value='NOK'>NOK</option>
|
2020-05-30 12:11:35 +01:00
|
|
|
</select>
|
|
|
|
|
2020-06-18 21:57:25 +01:00
|
|
|
<button onClick='convert()'>Convert</button>
|
|
|
|
|
2020-05-30 12:11:35 +01:00
|
|
|
<p>
|
2020-06-18 22:23:35 +01:00
|
|
|
Conversion: <span id='res'></span>
|
2020-05-30 12:11:35 +01:00
|
|
|
</p>
|
2020-06-21 23:58:58 +01:00
|
|
|
<h3>Reversed conversion</h3>
|
|
|
|
From: <select id='rev'>
|
|
|
|
<option value='USD'>USD</option>
|
|
|
|
<option value='EUR'>EUR</option>
|
|
|
|
<option value='SEK'>SEK</option>
|
|
|
|
<option value='JPY'>JPY</option>
|
|
|
|
<option value='GBP'>GBP</option>
|
|
|
|
<option value='INR'>INR</option>
|
|
|
|
<option value='ISK'>ISK</option>
|
|
|
|
<option value='DKK'>DKK</option>
|
|
|
|
<option value='RON'>RON</option>
|
|
|
|
<option value='NOK'>NOK</option>
|
|
|
|
</select>
|
2020-05-30 12:11:35 +01:00
|
|
|
|
2020-06-21 23:58:58 +01:00
|
|
|
<input type='number' id='val2' step='0.01'>
|
|
|
|
|
|
|
|
To: <select id='rev2'>
|
|
|
|
<option value='EUR'>EUR</option>
|
|
|
|
<option value='USD'>USD</option>
|
|
|
|
<option value='SEK'>SEK</option>
|
|
|
|
<option value='JPY'>JPY</option>
|
|
|
|
<option value='GBP'>GBP</option>
|
|
|
|
<option value='INR'>INR</option>
|
|
|
|
<option value='ISK'>ISK</option>
|
|
|
|
<option value='DKK'>DKK</option>
|
|
|
|
<option value='RON'>RON</option>
|
|
|
|
<option value='NOK'>NOK</option>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
<button onClick='convert2()'>Convert</button>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
Conversion: <span id='res2'></span>
|
|
|
|
</p>
|
2020-05-30 12:11:35 +01:00
|
|
|
|
|
|
|
<script src='script.js'></script>
|
|
|
|
</body>
|
|
|
|
</html>
|