-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (43 loc) · 1.66 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
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="./css/bootstrap.css"/>
<link rel="stylesheet" type="text/css" href="./css/style.css"/>
<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1"/>
</head>
<body id="grad1">
<div class="col-md-3"></div>
<div class="col-md-6 well centered">
<h3 class="text-primary void">Currency Converter</h3>
<hr style="border-top:4px dotted #ccc;">
<div class="col-md-2"></div>
<div class="col-md-8">
<div class="form-group">
<label>Amount to Convert</label>
<input type="text" class="form-control" placeholder="Amount" name="amount" id="amount">
<h3 class="text-primary"> From</h3>
<select class="form-control" id="from" style="width:100%;">
<option value=""> Select Currency </option>
</select>
<h3 class="text-primary"> To</h3>
<select class="form-control" id="to" style="width:100%;">
<option value=""> Select Currency </option>
</select>
</div>
<div class="input-group">
<span class="input-group-btn center">
<button class="form-control btn btn-primary button" type="button" id="convert" >Convert Currency</button>
</span>
</div><!-- /input-group -->
<br>
<hr style="border-top:4px dotted #ccc;">
<label class="converted">Converted Value</label>
<div class="input-group">
<span class="input-group-addon">=</span>
<input type="text" class="form-control" id="converted" value="Press the Convert button" aria-label="Amount (to the nearest dollar)" disabled="disabled">
</div>
</div>
</div>
<script type="module" src="js/main.js"></script>
</body>
</html>