Welcome to the Currency-Converter-App! This project is a simple, yet powerful web application that allows users to convert amounts between different currencies. The application is built using vanilla JavaScript, HTML, and CSS.
Check out the live demo of the Currency-Converter-App here.
- Convert amounts between the top G20 currencies.
- Fetches real-time exchange rates from an API.
- User-friendly interface with dropdowns for selecting currencies.
- Responsive design that works on both desktop and mobile devices.
To run this project locally, follow these steps:
- Clone the repository:
git clone https://github.com/yourusername/Currency-Converter-App.git
- Navigate to the project directory:
cd Currency-Converter-App
- Open
index.html
in your preferred web browser.
- Open the application in your web browser.
- Select the currencies you want to convert from and to using the dropdown menus.
- Enter the amount you want to convert.
- The converted amount will be displayed instantly.
The project consists of the following files:
index.html
: The main HTML file that contains the structure of the web application.style.css
: The CSS file that styles the web application.script.js
: The JavaScript file that contains the logic for fetching exchange rates and performing the conversion.countryList.js
: A JavaScript file that contains a list of countries and their respective currencies.package.json
andpackage-lock.json
: Configuration files for npm.