Conversor_moneda/index.html

58 lines
2.2 KiB
HTML
Raw Normal View History

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"/>
2023-07-06 21:31:44 +01:00
<link rel="stylesheet" href="style.css">
2020-06-18 21:46:50 +01:00
<title>Currency Converter</title>
2020-05-30 12:11:35 +01:00
</head>
<body>
2023-07-06 21:31:44 +01:00
<div class="panel">
<div class="content">
<h3 class="myTitle">Currency Converter</h3>
<input type='number' id='val' step='0.01' class="input">
<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>
2023-07-06 21:31:44 +01:00
<button onClick='change()' class="change">
<svg fill="#000000" height="16px" width="16px" version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 251.247 251.247" xml:space="preserve">
<path d="M248.611,119.259l-51.005-51.005c-3.516-3.515-9.213-3.515-12.729,0c-3.515,3.515-3.515,9.213,0,12.728l35.642,35.641
H30.728l35.642-35.641c3.515-3.515,3.515-9.213,0-12.728c-3.516-3.515-9.213-3.515-12.729,0L2.636,119.259
c-3.515,3.515-3.515,9.213,0,12.728l51.005,51.005c1.758,1.757,4.061,2.636,6.364,2.636s4.606-0.879,6.364-2.636
c3.515-3.515,3.515-9.213,0-12.728l-35.642-35.641h189.791l-35.642,35.641c-3.515,3.515-3.515,9.213,0,12.728
c1.758,1.757,4.061,2.636,6.364,2.636s4.606-0.879,6.364-2.636l51.005-51.005C252.125,128.472,252.125,122.774,248.611,119.259z"/>
</svg>
</button>
<input type="text" id='res' readonly="readonly" class="result" value=""> </input> <select id='curr2'>
2020-06-21 23:58:58 +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>
<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
2023-07-06 21:31:44 +01:00
<p><button onClick='convert()' class="convert">Convert</button></p>
</div>
</div>
2020-05-30 12:11:35 +01:00
<script src='script.js'></script>
</body>
</html>