-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (68 loc) · 3.13 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
<!DOCTYPE html>
<html>
<head>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<title>Currency Converter</title>
<link rel="manifest" href="/manifest.json">
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="css/materialize.min.css" media="screen,projection"/>
<!--Import our css -->
<link type="text/css" rel="stylesheet" href="css/currency-converter.css" media="screen,projection"/>
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="theme-color" content="#0000FF">
</head>
<body>
<div class="container">
<div class="row">
<div class="col s12 m10 push-m1 l8 push-l2 xl6 push-xl3">
<div class="card">
<div class="card-content">
<span class="card-title">Currency Converter</span>
<div class="card-content__header hidden">
<div class="source-label">
<span id="src-amount" class="source-label__amount"></span>
<span id="src-name" class="source-label__name"></span> equals
</div>
<div class="target-label">
<span id="tgt-amount" class="target-label__amount"></span>
<span id="tgt-name" class="target-label__name"></span>
</div>
</div>
<div class="card-content__body">
<table class="conversion-table">
<tbody>
<tr>
<td><input type="number" id="src-input" class="currency-input"></td>
<td>
<select id="src-selector" class="currency-selector">
<option disabled="disabled" selected="selected">Select a currency</option>
</select>
</td>
</tr>
<tr>
<td><input type="number" id="tgt-input" class="currency-input"></td>
<td>
<select id="tgt-selector" class="currency-selector">
<option disabled="disabled" selected="selected">Select a currency</option>
</select>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<!--JavaScript at end of body for optimized loading-->
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/idb.js"></script>
<script type="text/javascript" src="js/materialize.min.js"></script>
<script type="text/javascript" src="js/currency-converter.js"></script>
</body>
</html>