From 25d98cc02f7df7f2405910ab4a9d2c4fb1496255 Mon Sep 17 00:00:00 2001 From: acodedoer Date: Sat, 16 May 2020 17:25:28 +0100 Subject: [PATCH] created currency converter app idea --- Projects/2-Intermediate/Currency-Converter.md | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Projects/2-Intermediate/Currency-Converter.md diff --git a/Projects/2-Intermediate/Currency-Converter.md b/Projects/2-Intermediate/Currency-Converter.md new file mode 100644 index 00000000..e35058ee --- /dev/null +++ b/Projects/2-Intermediate/Currency-Converter.md @@ -0,0 +1,25 @@ +# Currency Converter + +**Tier:** 2-Intermediate + +A currency converter is used to convert an amount in one currency to its corresponding value in another currency using the current exchange rates of the two currencies, for example it can be used to calculate the value of 100 US Dollars in Euros. Current exchange rates are usually provided by banks and other financial service providers, they also (in some cases) offer free and paid APIs for developers to get current and historical exchange rates between two or more currencies. + +## User Stories + +- [ ] User can enter up to 9 digits to represent the amount to convert in a source input field +- [ ] User can view a list of available currencies and select the currency to convert from in a source drop-down list +- [ ] User can view a list of available currencies and select the currency to convert to in a destination drop-down list +- [ ] User views the value (rounded to two decimal places) of the source amount converted to the destination currency in a single output field +- [ ] User must be alerted if the input is not a number + +## Bonus features + +- [ ] User should be able to swap the values of the source and destination drop-down lists on the click of a button + +## Useful links and resources + +- [Free currency converter API](https://free.currencyconverterapi.com/) +- [XE currency converter](https://www.xe.com/) +- [How to use fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch) to fetch data + +## Example projects