I'm always excited to take on new projects and collaborate with innovative minds.

Phone

+91-789869XXXX

Email

prashant@iamprashu.in

Address

Madhya Pradesh | Uttrakhand

Social Links

Project

Currency Converter - Just to get hand's on in JavaScript

πŸ’° Currency Converter Web App
A simple yet powerful Currency Converter that fetches real-time exchange rates using the ExchangeRate API. Built with JavaScript, Tailwind CSS, and asynchronous API handling, this project provides an intuitive way to convert currencies dynamically.

Client

iamprashu
Currency Converter - Just to get hand's on in JavaScript

πŸ’° Currency Converter Web App

A simple yet powerful Currency Converter that fetches real-time exchange rates using the ExchangeRate API. Built with JavaScript, Tailwind CSS, and asynchronous API handling, this project provides an intuitive way to convert currencies dynamically.

πŸš€ Features

βœ… Live exchange rates powered by the ExchangeRate API
βœ… Country flags dynamically updated using the Flags API
βœ… Responsive UI with Tailwind CSS for a sleek and modern look
βœ… Asynchronous JavaScript using fetch() and async/await
βœ… Error handling for invalid inputs and API failures

πŸ› οΈ Technologies Used

  • HTML, CSS (Tailwind CSS)
  • JavaScript (ES6+)
  • ExchangeRate API (for real-time exchange rates)
  • Flags API (for country flags)

πŸ”§ Installation & Setup

1️⃣ Clone the repository:

bash
git clone https://github.com/your-username/currency-converter.git cd currency-converterΒ 

2️⃣ Open the project in a browser:
Just open index.html in your browserβ€”no extra setup needed!

🎯 How It Works

  1. Select the "From" and "To" currencies from the dropdown.
  2. Enter the amount you want to convert.
  3. Click "Convert" to get the latest exchange rate.
  4. The converted amount is displayed dynamically.

⚑ Challenges & Learnings

πŸ”Ή Challenges:

❌ Handling API rate limits on free-tier plans
❌ Ensuring smooth dropdown updates when selecting currencies
❌ Fixing broken flag URLs due to incorrect country codes

πŸ’‘ Learnings:

βœ… How to work with multiple APIs efficiently
βœ… Error handling in JavaScript for smoother user experience
βœ… Advanced DOM manipulation for dynamic UI updates
βœ… Tailwind CSS for rapid UI development

Β 

Share