-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
251 lines (221 loc) · 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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="This website is a financial tool for currency, precious metals, and bitcoin conversion. It uses exchange rates information delivered at real time to convert from metal to currency, currency to currency, and from currency to cryptocurrency. It uses as a currency converter the most commonly national, sub-national, and supra national currencies as well as the most used cryptocurrencies.">
<meta name="keywords" content="currency converter, currency, crypto, gold, metals, exchange rates">
<meta name="author" content="Group 5">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://code.jquery.com/ui/1.13.1/jquery-ui.min.js" integrity="sha256-eTyxS0rkjpLEo16uXTS0uVCS4815lc40K2iVpWDvdSY=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" type="text/javascript" crossorigin="anonymous"></script>
<link rel="stylesheet" href="./assets/css/style.css">
<title>Multi-Currency Convertor</title>
</head>
<body>
<div class="jumbotron jumbotron-fluid bg">
<div class="container wordColor">
<!--header-->
<h1 class="display-4">Gold to Currency</h1>
<p class="lead">Converting Gold and Bitcoin to various world currencies.</p>
</div>
</div>
<main>
<div class="container-ndf col-12">
<h2 class="row justify-content-md-center align-items-center">Convert Currency to Currency</h2>
<div class="thisDiv pic4">
<form class="thisForm">
<!-- COUNTRY FROM SECTION -->
<div class="currency-value"> <!--BOX 1-->
<label id="valueLabel" class="valueLabel">Value</label>
<input type="number" id="amount" class="amount" placeholder="Enter Your Value" />
</div>
<div class="country-from"><!--BOX 2-->
<label id="fromLabel" class="fromlabel">From</label>
<select id="countryFromCurrency" name="countryFrom">
<option class="fromCurrency">USD</option>
<option class="fromCurrency">EUR</option>
<option class="fromCurrency">GBP</option>
<option class="fromCurrency">MXN</option>
<option class="fromCurrency">JPY</option>
</select>
</div>
<!-- COUNTRY TO SECTION -->
<div class="country-to"><!--BOX 3-->
<label id="toLabel" class="toLabel">To</label>
<select id="countryToCurrency" class="countryToCurrency" name="to">
<option class="toCurrency">USD</option>
<option class="toCurrency">EUR</option>
<option class="toCurrency">GBP</option>
<option class="toCurrency">MXN</option>
<option class="toCurrency">JPY</option>
</select>
</div>
<div class="convert-to"><!--BOX 4-->
<button id="btnConvert-ndf" class="btnConvert-ndf" type="button">Convert</button>
<output id="result" class="result" placeholder="Result goes here">Result</output>
</div>
</form>
<!-- MESSAGE HANDLER -->
<div class="container-ndf-2 col-12 arrow justify-content-md-center align-items-center">
<div id="messageHandler" class="messageHandler"></div>
</div>
</div>
</div>
</main>
<!--Hyun's HTML [-->
<main>
<div id="hyuns-form" class="container col-12">
<h2 class="row justify-content-md-center align-items-center">Gold To Currency:</h2>
<div class="form-main pic">
<!-- BOX 1 -->
<div class="country-from">
<label id="fromLabel" class="fromLabel">Metal</label><br>
<!--metal dropdown-->
<select id="metalFromOption" class="metalFromOption" name="metalFromOption">
<!--metal options-->
<option>XAU</option>
<option>XAG</option>
<option>XPT</option>
<option>XPD</option>
</select>
</div>
<!-- BOX 2 -->
<div class="fromLabelHyuns">
<!--karat dropdown-->
<label id="fromLabel" class="fromLabel">FROM</label>
<select id="karatFrom" class="karatFrom" name="karatFrom">
<!--dropdown options-->
<option>18k</option>
<option>20k</option>
<option>21k</option>
<option>22k</option>
<option>24k</option>
</select>
<!--enter amount-->
<input type="number" id="amountMetalFrom" class="amountMetalFrom" placeholder="Amount in grams"/>
</div>
<!-- BOX 3 -->
<!--arrow-->
<div class="arrow">
<!-- code for arrow icon -->
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-right arrow-this" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/>
</svg><br>
<!--reset-->
<button id="btnStartOverG" class="btnStartOverG" type="button">Clear</button>
</div>
<!-- BOX 4 -->
<div class="country-from">
<label id="toLabel" class="toLabel">TO</label><br>
<!--dropdown-->
<select id="countryToOptionG" class="countryToOptionG" name="countryToOptionG">
<!--dropdown options-->
<option>USD</option>
<option>EUR</option>
<option>JPY</option>
<option>GBP</option>
<option>CAD</option>
<option>KRW</option>
<option>MXN</option>
<option>BTC</option>
</select>
</div>
<div class="result-Hyuns">
<!--result shown-->
<button id="btnConvertG" class="btnConvertG" type="button">Save & Convert</button>
<textarea id="resultG" class="resultG" placeholder="Result goes here"></textarea>
</div>
</div>
</div>
</main>
<!--Hyun's HTML ]-->
<!--David's HTML [-->
<main>
<!-- <h1 class="goldFont">Currency To Bitcoin<span class="badge badge-secondary"></span></h1> -->
<div id="davs-form" class="container col-12">
<h2 class="row justify-content-md-center align-items-center">Currency To Bitcoin:</h2>
<div class="row justify-content-md-center align-items-center pic2">
<div class="col col-lg-2 country-from">
<label id="fromLabel" class="fromLabel">FROM</label>
<select id="currencyFrom" class="" name="countryFromOption">
<option>USD</option>
<option>EUR</option>
<option>MXN</option>
<option>BTC</option>
</select>
<input type="number" id="amountBTC" class="amountCountryFrom" placeholder="Enter currency amount"></input>
<button id="btnStartOver1" class="btnStartOver" type="button">Clear</button>
</div>
<!--arrow-->
<div class="col-md-auto arrow">
<!-- code for arrow icon -->
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-right" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/>
</svg>
</div>
<div class="col col-lg-2 country-from">
<label id="toLabel" class="toLabel">TO</label>
<select id="currencyTo">
<option>USD</option>
<option>EUR</option>
<option>MXN</option>
<option>BTC</option>
</select>
<textarea id="BTCresult" class="result" placeholder="Result goes here"></textarea>
<button id="btnConvertBTC" class="btnConvert">Save & Convert</button>
</div>
</div>
</div>
</main>
<!--Arjuns HTML Starts*****************************************************************************************-->
<main>
<div id="arjun-form" class="container col-12">
<h2 class="row justify-content-md-center align-items-center">Crypto Currencies to Precious Metals:</h2>
<div class="row justify-content-md-center align-items-center picAG">
<div class="col col-lg-2 country-from">
<label id="fromLabel" class="fromLabel">FROM</label>
<select id="currencyFromAG" class="" name="countryFromOption">
<option>BTC</option> <!--Bitcoin-->
<option>ETH</option> <!--Ethereum-->
<option>DOGE</option> <!--Dogecoin-->
<option>LTC</option> <!--Litecoin-->
</select>
<input type="number" id="amountAG" class="amountCountryFrom" placeholder="Enter currency amount"></input>
<button id="btnStartOver1" class="btnStartOver" type="button">Clear</button>
</div>
<!--arrow-->
<div class="col-md-auto arrow">
<!-- code for arrow icon -->
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-arrow-right" viewBox="0 0 16 16">
<path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/>
</svg>
</div>
<div class="col col-lg-2 country-from">
<label id="toLabel" class="toLabel">TO</label>
<select id="currencyToAG">
<option>XAU</option> <!--Gold-->
<option>XAG</option> <!--Silver-->
<option>XPT</option> <!--Platinum-->
</select>
<textarea id="coinURLAG" class="result" placeholder="Result goes here"></textarea>
<button id="conversionButtonAG" class="conversionButtonAG">Convert</button>
</div>
</div>
</div>
</main>
<!-- End of Arjun's HTML -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.1/umd/popper.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.5.0/js/bootstrap.min.js"></script>
<script src="https://coinconvert.net/assets/js/crypto-convert.min.js"></script>
<script src="./assets/js/script.js"></script>
<footer>
<p>Site Created by: Nordleen De Frias, David Hall, Hyun Wook Choi, Arjun Gupta<br>
<a href="https://github.com/Arjunk-g/Project-1">Repository</a>
<a href="https://docs.google.com/presentation/d/10YL9bAGP68W_saaZACVV1k5pJx8Sqd-LoM5dubi2BJ0/edit#slide=id.p">PowerPoint-Presentation</a>
</footer>
</body>
</html>