Member-only story
Exchange rate theory is about fetching the data and calculating based on an input value.
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…