-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (56 loc) · 2.22 KB
/
Copy pathindex.html
File metadata and controls
61 lines (56 loc) · 2.22 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Currency Converter</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="mobStyle.css">
<link rel="icon" href="icons/currencyconvertericon.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css"
integrity="sha512-Evv84Mr4kqVGRNSgIGL/F/aIDqQb7xQ2vcrdIwxfjThSH8CSR7PBEakCr51Ck+w+/U6swU2Im1vVX0SVk9ABhg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<nav>
<a href="#" id="logo-link">
<img title="Aamir Rafique" src="img/logo-1.webp" alt="Logo" id="logo-img" />
</a>
</nav>
<form class="container">
<h1 class="title">💲 Currency Converter</h1>
<input type="text" name="" id="base_currency_input" placeholder="Enter Amount here">
<div class="dropdown">
<div class="from">
<h5>From</h5>
<div class="select-container">
<img src="https://flagsapi.com/US/flat/64.png" alt="">
<select name="from" id="from">
</select>
</div>
</div>
<i class="fa-solid fa-arrow-right-arrow-left"></i>
<div class="to">
<h5>To</h5>
<div class="select-container">
<img src="https://flagsapi.com/PK/flat/64.png" alt="">
<select name="to" id="">
</select>
</div>
</div>
</div>
<p id="latest_rates_display">....</p>
<button>Get Exchange Rate</button>
</form>
<footer class="mt-6 text-sm text-center text-gray-700">
<p> Made with ❤️ by <a href="https://github.com/Aamir-Rafique" target="_blank"
class="text-blue-600 hover:underline">Aamir Rafique</a> </p>
<p>
<p>
Currency data provided by <a href="https://app.currencyapi.com/" target="_blank" class="">CurrencyAPI</a>
</p>
</footer>
</body>
<script src="codes.js"></script>
<script src="script.js"></script>
</html>