A small React app that lets us convert between currencies using live exchange rates.
- Choose any two currencies and enter an amount
- Fetches up-to-date rates from an online API
- Supports typing in either “from” or “to” box
- Responsive layout for desktop and mobile
- React (with Hooks)
- JavaScript
- CSS (Flexbox)
- ExchangeRatesAPI: To fetch live currency exchange rates
Follow these steps to get a local copy of the project up and running on your machine:
- Clone the repository:
(Remember to replace
git clone [https://github.com/YourGitHubUsername/currency-converter.git](https://github.com/YourGitHubUsername/currency-converter.git)
YourGitHubUsername/currency-converter.gitwith your actual repository link!) - Navigate to the project directory:
cd currency-converter - Install dependencies:
npm install
- Start the development server:
This will open the app in your browser (usually at
npm start
http://localhost:3000).