Skip to content

A simple currency converter built with HTML, CSS, and JavaScript. Fetches real-time exchange rates from an API to convert between different currencies. User-friendly interface with the ability to select base and target currencies, input amounts, and get instant conversion results

Notifications You must be signed in to change notification settings

VedantPadole52/Currency-Converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

Currency Converter

A responsive and user-friendly web application that allows users to convert currencies in real-time using the latest exchange rates. Built with HTML, CSS, and JavaScript, the app fetches live data from a public API and includes country flags for a better visual experience.


Features

  • Real-time currency conversion
  • Switch between "From" and "To" currencies
  • Country flags displayed dynamically
  • Fully responsive and clean UI
  • Intelligent default selection (USD to INR)

Tech Stack

  • Frontend: HTML, CSS, JavaScript
  • API: ExchangeRate-API
  • Flag Provider: FlagsAPI

File Structure

├── index.html         # Main HTML structure
├── style.css          # App styling
├── app.js             # Currency conversion logic & event handling
├── codes.js           # Currency-country code mapping

How to Run Locally

  1. Clone the repository:

    git clone https://github.com/your-username/currency-converter.git
  2. Navigate to the project directory:

    cd currency-converter
  3. Open index.html in your browser.


Future Enhancements

  • Add currency search functionality
  • Show historical exchange rate chart
  • Add dark/light theme toggle

Acknowledgements


Live Demo Link

https://currency-converter-rouge-xi-85.vercel.app/

About

A simple currency converter built with HTML, CSS, and JavaScript. Fetches real-time exchange rates from an API to convert between different currencies. User-friendly interface with the ability to select base and target currencies, input amounts, and get instant conversion results

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published