Conversor_moneda/index.html

37 lines
752 B
HTML
Raw Normal View History

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>
</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>
</select>
<p>
2020-06-18 21:46:50 +01:00
Converted: <span id='res'></span>
2020-05-30 12:11:35 +01:00
</p>
2020-06-18 21:46:50 +01:00
<button onClick='convert()'>Convert</button>
2020-05-30 12:11:35 +01:00
<script src='script.js'></script>
</body>
</html>