Simple web application that display the latest exchange rates.
Go to https://laurelgr.github.io/exchange-rates-lookup and pick a version.
Open the takeaway.html
file in a browser with javascript enabled.
Script and CSS are included to make it usable without downloading multiple files.
The application initialize with the latest available rates, on base currency EUR.
Click another currency's name to change base currency! (A new request is fired to update the rates.)
Click the date and pick another to see that day's rates! If no rates are available, the API provide the previous available rates and the date is updated to reflect the true day referred.
You can drag around the currencies to match your prefered order.
Drag them to the bottom part so they are removed from your displayed rates!
Exchange rates: Foreign exchange rates API
CSS browser-specific prefixes: -prefix-free (1.0.7).
Great drag&drop: Dragula
The PrefixFree and Dragula code I used can be found in the extensions folder.