Skip to content

coder-Rishi05/Currency_converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ’± Currency tracker Web App

A responsive currency tracker web application built using HTML, CSS, and JavaScript. It allows users to see any selected amount in a base currency (like INR, USD, EUR) to a wide range of world currencies using real-time exchange rates. It gives list of countries of the currency amount.


πŸš€ Live Demo

πŸ‘‰ Live Demo Link β€” https://curencyconvert.netlify.app/


🧠 Features

  • βœ… Real-time exchange rates using CurrencyAPI
  • βœ… Currency selection dropdown
  • βœ… Amount input with validation
  • βœ… Conversion results in a styled table
  • βœ… Error handling for failed API calls
  • βœ… Responsive design for mobile and desktop

πŸ“‚ Project Structure

Currency-Converter/
β”œβ”€β”€ index.html
β”œβ”€β”€ style.css
β”œβ”€β”€ script.js
└── README.md

πŸ’‘ Key JavaScript Concepts Used

Concept How It's Used
fetch + async/await To get data from the CurrencyAPI
DOM Manipulation To update UI dynamically based on user input
map() To iterate over currency data and render table rows
Event Listeners For form submission and DOM events
Error Handling Wrapped fetch in try-catch block with alert() fallback
Responsive CSS Used media queries and flexbox/grid styling

πŸ§ͺ How to Use

  1. Open the web app in a browser.
  2. Enter an amount in the input box.
  3. Choose a base currency (INR, USD, EUR).
  4. Click the Submit button.
  5. View the converted values for multiple currencies.
  6. Scroll down to see recent conversion history.

πŸ“¦ Tech Stack

  • HTML5
  • CSS3 (Flexbox, Media Queries)
  • Vanilla JavaScript (ES6+)

🌍 API Used

CurrencyAPI β€” Free tier used for real-time exchange rate data.


About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published