-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
115 lines (98 loc) · 3.29 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Currency Converter</title>
<link rel="shortcut icon" type="image/ico" href="./favicon.ico">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="./styles/bootstrap.min.css">
<!-- Custom CSS -->
<link href="./styles/styles.css" rel="stylesheet">
<!-- manifest and meta theme color -->
<link rel="manifest" href="manifest.json">
</head>
<body>
<header>
<div>
<nav class="navbar navbar-dark">
<div class="container">
<div class="row">
<div class="col-12">
<h3>Currency Converter</h3>
</div>
</div>
</div>
</nav>
</div>
</header>
<div class="vertical-center">
<div id="main" class="container">
<div class="row justify-content-center">
<div class="col-12 col-sm-10 col-lg-8">
<div class="card text-center mt-5 mb-5 invisible">
<h3 class="card-header bg-converter text-white">Currency Converter</h3>
<div class="card-body">
<form id="currency-form">
<div class="form-row">
<label class="sr-only" for="amount-input">Enter amount</label>
<div class="col-12 mb-2">
<input type="number" class="form-control" id="amount-input" placeholder="Enter amount">
</div>
<div class="col-12 mb-2">
<div class="input-group-append">
<select id="from-currency" class="form-control">
</select>
</div>
</div>
</div>
<div class="form-row">
<div class="col-6 offset-3">
<label class="form-control bg-light">To</label>
</div>
</div>
<div class="form-row">
<div class="col-12 mb-2">
<select id="to-currency" class="form-control">
</select>
</div>
</div>
<div class="form-row">
<div class="col-6 offset-3 mb-2">
<button type="submit" class="btn btn-primary shadow">
Convert
</button>
</div>
</div>
<div class="form-row">
<div class="col-12">
<input id="amount-output" class="form-control" type="text" placeholder="Press Convert button" readonly>
</div>
</div>
</form>
</div>
<div class="card-footer">
<p><strong>Inspired by Andela Google Udacity</strong></p>
</div>
</div>
</div>
</div>
<div class="loader">
<svg viewBox="0 0 32 32" width="32" height="32">
<circle id="ud811Spinner" cx="16" cy="16" r="14" fill="none"></circle>
</svg>
</div>
</div>
</div>
<script type="module" src="./scripts/main.js"></script>
</body>
<!-- <footer class="footer">
<div class="container-fluid">
<div class="row justify-content-center">
<div class="col-auto">
</div>
</div>
</div>
</footer> -->
</html>