Conversor_moneda/index.html

37 lines
756 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">
<title>Conversor</title>
</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>
Quantitat convertida: <span id='res'></span>
</p>
<button onClick='convert()'>convertir</button>
<script src='script.js'></script>
</body>
</html>