Skip to content

saharansameer/currency-converter

Repository files navigation

Currency Converter

This project allows users to convert currencies. The conversion rates are fetched from a live API that updates daily. The project includes a swap functionality to switch between the selected currencies, and two select menus to choose the currencies for conversion.

Features

  • Real-Time Conversion: Conversion rates are fetched from an API that updates daily, ensuring accurate and up-to-date rates.
  • Swap Functionality: Easily swap between the two selected currencies to reverse the conversion.
  • Select Menus: Choose the base currency and target currency from two dropdowns to see the conversion rate.

Hooks Used

  • useState: To manage the state of the selected currencies and conversion rates.
  • useCurrencyInfo: A custom hook that fetches conversion rates for the selected currency from the API. The API data includes conversion rates to all other currencies.

Deployed: Click me to visit

About

A global currency converter, supports more than 100 currencies.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published