-
Notifications
You must be signed in to change notification settings - Fork 0
/
example.html
88 lines (88 loc) · 3.19 KB
/
example.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<html>
<head>
<link rel="shortcut icon" href="#" />
<script async src="./example.js" type="module"></script>
</head>
<body>
<h1>simple currency converter</h1>
<p id="example">currency rates are loading...</p>
<label for="inputField">_input:</label>
<input type="text" id="inputField" size="10">
<select name="inputCurrency" id="inputCurrency">
<option value="EUR">EUR</option>
<option value="USD">USD</option>
<option value="JPY">JPY</option>
<option value="BGN">BGN</option>
<option value="CZK">CZK</option>
<option value="DKK">DKK</option>
<option value="GBP">GBP</option>
<option value="HUF">HUF</option>
<option value="PLN">PLN</option>
<option value="RON">RON</option>
<option value="SEK">SEK</option>
<option value="CHF">CHF</option>
<option value="ISK">ISK</option>
<option value="NOK">NOK</option>
<option value="HRK">HRK</option>
<option value="RUB">RUB</option>
<option value="TRY">TRY</option>
<option value="AUD">AUD</option>
<option value="BRL">BRL</option>
<option value="CAD">CAD</option>
<option value="CNY">CNY</option>
<option value="HKD">HKD</option>
<option value="IDR">IDR</option>
<option value="ILS">ILS</option>
<option value="INR">INR</option>
<option value="KRW">KRW</option>
<option value="MXN">MXN</option>
<option value="MYR">MYR</option>
<option value="NZD">NZD</option>
<option value="PHP">PHP</option>
<option value="SGD">SGD</option>
<option value="THB">THB</option>
<option value="ZAR">ZAR</option>
</select>
<br>
<label for="outputField">output:</label>
<input type="text" id="outputField" size="10" readonly>
<select name="outputCurrency" id="outputCurrency">
<option value="EUR">EUR</option>
<option value="USD">USD</option>
<option value="JPY">JPY</option>
<option value="BGN">BGN</option>
<option value="CZK">CZK</option>
<option value="DKK">DKK</option>
<option value="GBP">GBP</option>
<option value="HUF">HUF</option>
<option value="PLN">PLN</option>
<option value="RON">RON</option>
<option value="SEK">SEK</option>
<option value="CHF">CHF</option>
<option value="ISK">ISK</option>
<option value="NOK">NOK</option>
<option value="HRK">HRK</option>
<option value="RUB">RUB</option>
<option value="TRY">TRY</option>
<option value="AUD">AUD</option>
<option value="BRL">BRL</option>
<option value="CAD">CAD</option>
<option value="CNY">CNY</option>
<option value="HKD">HKD</option>
<option value="IDR">IDR</option>
<option value="ILS">ILS</option>
<option value="INR">INR</option>
<option value="KRW">KRW</option>
<option value="MXN">MXN</option>
<option value="MYR">MYR</option>
<option value="NZD">NZD</option>
<option value="PHP">PHP</option>
<option value="SGD">SGD</option>
<option value="THB">THB</option>
<option value="ZAR">ZAR</option>
</select>
<br>
<input type="submit" value="convert price" id="submitExample" disabled>
</body>
</body>
</html>