2020-05-30 12:11:35 +01:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang='fr'>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="author" content="Arnau Busom i Vidal">
|
2020-06-18 21:46:50 +01:00
|
|
|
<title>Currency Converter</title>
|
2020-05-30 12:11:35 +01:00
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<select id='curr'>
|
|
|
|
<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'>
|
|
|
|
|
|
|
|
<select id='curr2'>
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
|
|
|
<script src='script.js'></script>
|
|
|
|
</body>
|
|
|
|
</html>
|