Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 21 additions & 2 deletions Exchange Rate Calculator/Readme.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,21 @@
#Exchange Rate Calculator
##In this "Exchange Rate Calculator project, fetch API is used to make a Http request to a third party API to get some exchange rate and then put that into the DOM.
# 💱 Exchange Rate Calculator

A lightweight, beginner-friendly web application that calculates real-time exchange rates between multiple currencies. This project is part of the `Web-dev-mini-projects` collection and demonstrates working with third-party APIs using Vanilla JavaScript.

## ✨ Key Features
* **Real-Time Conversions:** Fetches the latest exchange rates using a third-party currency API.
* **Dynamic UI:** Instantly updates the converted amount when the user changes the base currency, target currency, or input amount.
* **Swap Functionality:** Includes a convenient "Swap" button to instantly reverse the selected currencies.
* **No Dependencies:** Built entirely with pure HTML, CSS, and Vanilla JavaScript—no frameworks or build tools required.

## 🛠️ Tech Stack
* **HTML5:** Semantic structure and form elements.
* **CSS3:** Custom styling, Flexbox layout, and responsive design.
* **Vanilla JavaScript:** DOM manipulation, event listeners, and asynchronous API fetching using the `fetch()` API.

## 📂 Project Structure
```text
Exchange Rate Calculator/
├── index.html # Main UI and layout
├── style.css # Custom styling
└── script.js # API integration and conversion logic