-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Resolved currency conversion issue
- Loading branch information
Sagar Pandey
committed
Jan 21, 2025
1 parent
1966e7a
commit 90e91a4
Showing
3 changed files
with
61 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,42 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Currency Converter</title> | ||
<link href="style.css" rel="stylesheet" /> | ||
<link | ||
rel="stylesheet" | ||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" | ||
integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" | ||
crossorigin="anonymous" | ||
referrerpolicy="no-referrer" | ||
/> | ||
|
||
</head> | ||
<body> | ||
<link rel="stylesheet" href="style.css"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" /> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h2>Currency Converter</h2> | ||
<form> | ||
<div class="amount"> | ||
<p>Enter Amount</p> | ||
<input value="1" type="text" /> | ||
</div> | ||
<div class="dropdown"> | ||
<div class="from"> | ||
<p>From</p> | ||
<div class="select-container"> | ||
<img src="https://flagsapi.com/US/flat/64.png" /> | ||
<select name="from"></select> | ||
<h2>Currency Converter</h2> | ||
<form action=""> | ||
<div class="amount"> | ||
<p>Enter Amount</p> | ||
<input value="1" type="text"> | ||
</div> | ||
</div> | ||
<i class="fa-solid fa-arrow-right-arrow-left"></i> | ||
<div class="to"> | ||
<p>To</p> | ||
<div class="select-container"> | ||
<img src="https://flagsapi.com/IN/flat/64.png" /> | ||
<select name="to"></select> | ||
<div class="dropdown"> | ||
<div class="from"> | ||
<p>From</p> | ||
<div class="select-container"> | ||
<img src="https://flagsapi.com/US/flat/64.png"> | ||
<select name="from"></select> | ||
</div> | ||
</div> | ||
<i class="fa-solid fa-arrow-right-arrow-left"></i> | ||
<div class="to"> | ||
<p>To</p> | ||
<div class="select-container"> | ||
<img src="https://flagsapi.com/IN/flat/64.png"> | ||
<select name="to"></select> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="msg">1USD = 80INR</div> | ||
<button>Get Exchange Rate</button> | ||
</form> | ||
<div class="msg">1USD = 80INR</div> | ||
<button>Get Exchange Rate</button> | ||
</form> | ||
</div> | ||
<script src="data.js"></script> | ||
<script src="app.js"></script> | ||
</body> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters