forked from SalahHamza/currency-converter-pwa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (62 loc) · 2.16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta name="Description" content="A modern Currency Conveter that works both online and offline.">
<meta name="theme-color" content="#223843"/>
<link rel="shortcut icon" href="./build/icons/icon_512x512.png">
<link rel="manifest" href="./manifest.json">
<script type="text/javascript" src="./build/js/app.bundle.js"></script>
<title>Currency Converter</title>
</head>
<body>
<!-- Header start -->
<header class="headbar">
<h1>Currency Converter</h1>
</header>
<!-- Header end -->
<!-- main start -->
<main class="main">
<!-- Converter card start -->
<div class="converter grid card">
<input aria-label="Conversion amount" class="amount" name="amount" type="number" value="1" min="1">
<div class="fromCurrency">
<label for="fromCurrency">From</label>
<select name="fromCurrency" id="fromCurrency"></select>
</div>
<button type="button" aria-label="swap" class="swap button">
<span class="icon-exchange"></span>
</button>
<div class="toCurrency">
<label for="toCurrency">To</label>
<select name="toCurrency" id="toCurrency"></select>
</div>
<button class="convert button" type="button">convert</button>
</div>
<!-- converter card end -->
<!-- conversion cardTemplate start -->
<div class="conversion card cardTemplate">
<div class="fromResult">
<input type="number" min="0" class="fromResultAmount" />
<button type="button" class="button fromResultName">USD</button>
</div>
<div class="toResult">
<span class="toResultAmount">xx.xxx</span>
<span class="toResultName">XXX</span>
</div>
<div class="rates">
<div class="fromRate">1 XXX = xx.xxxxxx XXX</div>
<div class="toRate">1 XXX = x.xxxxxx XXX</div>
</div>
<div class="date">Thu, 28 Jun 2018 10:00 PM CDT</div>
<div class="utils">
<span class="icon-trashcan close"></span>
</div>
</div>
<!-- conversion cardTemplate end -->
</main>
<!-- main end -->
</body>
</html>