Member-only story

Exchange rate calculator with Javascript

YvonneDev
3 min readDec 12, 2020

--

Exchange rate theory is about fetching the data and calculating based on an input value.

Github

Feature:

different currency selections and the input number value

exchange rate API to fetch data

HTML

The credit for the exchange rate API free version

First-line shows the basic equation of the exchange rate which will be manipulated in the js part.

The two currencies are two parts: currency and number.

selection options below:

<select name="" id="currency1"><option value="AED">AED</option><option value="ARS">ARS</option><option value="AUD">AUD</option><option value="BGN">BGN</option><option value="BRL">BRL</option><option value="BSD">BSD</option><option value="CAD">CAD</option><option value="CHF">CHF</option><option…

--

--

YvonneDev
YvonneDev

Written by YvonneDev

❤️Front-end Web Development self-taught *share what I learned*

No responses yet