-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
78 lines (75 loc) · 2.19 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
type="text/css"
rel="stylesheet"
href="dkfds-9.1.0/css/dkfds.min.css"
/>
<link rel="stylesheet" href="rootstyles.css" />
<title>Exchange Rates Table</title>
</head>
<body>
<div>
<header></header>
</div>
<div>
<input
type="number"
id="creditCardNumber"
placeholder="Enter Your Card Number"
class="form-input"
required
/>
<button button="logCard" id="cardAdd" class="button button-primary">
Add
</button>
<p id="cardMessage" class="small-text"></p>
</div>
<div id="marketHours">
<p id="marketAvailability" class="small-text"></p>
</div>
<form id="currencyForm">
<label class="form-label" for="currency">Convert Currencies</label>
<select class="form-select" id="fromCurrency"></select>
<button type="button" id="switchCurrency" class="button button-primary">
Switch
</button>
<select class="form-select" id="toCurrency"></select>
<input
type="number"
id="amount"
placeholder="Amount"
required
class="form-input"
/>
<button
type="button"
onclick="convertCurrency()"
class="button button-primary"
>
Convert
</button>
<p id="result" class="small-text"></p>
</form>
<select class="form-select" id="baseCurrency"></select>
<div id="dynamicTable" class="table--responsive-scroll">
<p id="cardSpecificTable" class="small-text"></p>
<table id="exchangeRatesTable" class="table">
<thead>
<tr>
<th scope="col" class="small-text">Base Currency</th>
<th scope="col" class="small-text">Exchange Currency</th>
<th scope="col" class="small-text" id="rateHeader">Rate</th>
<th scope="col" class="small-text">Trend</th>
</tr>
</thead>
<tbody id="tableBody"></tbody>
</table>
</div>
<script src="main.js"></script>
<script src="cardvalidator.js"></script>
</body>
</html>