Coder Social home page Coder Social logo

eduard7mar / currency-converter-react-hooks- Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5 KB

This application allows users to convert an amount of money from Ukrainian Hryvnia (UAH) to other currencies based on the current exchange rates.

Home Page: https://codepen.io/Ed797/pen/rNPMzQW

License: MIT License

HTML 0.65% JavaScript 61.49% CSS 37.87%

currency-converter-react-hooks-'s Introduction

Currency Converter

The "Currency Converter" is a web application developed using React and hooks. This application allows users to convert an amount of money from Ukrainian Hryvnia (UAH) to other currencies based on the current exchange rates.

How It Works:

  • The application fetches currency exchange rate data from the National Bank of Ukraine's website using an API.
  • After loading the data, the application displays the user interface, where users can enter the amount in UAH and select the currency for conversion.
  • When a currency button is clicked, the application calculates and displays the converted result.
  • Users can reset the conversion result by clicking the "Reset" button.

Technical Details:

  • The project is developed using React.
  • React hooks, such as useState and useEffect, are utilized for state management and side effects handling.
  • The application fetches data from an external API using the fetch function.
  • Data received from the API is transformed and presented in a user-friendly format.

Instructions for Use:

  1. Enter an amount in Ukrainian Hryvnia (UAH) in the input field.
  2. Select the target currency for conversion by clicking the corresponding currency button.
  3. The conversion result will be displayed below in the selected currency.
  4. To reset the conversion result, click the "Reset" button.

currency-converter-react-hooks-'s People

Contributors

eduard7mar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.