From 25d98cc02f7df7f2405910ab4a9d2c4fb1496255 Mon Sep 17 00:00:00 2001 From: acodedoer Date: Sat, 16 May 2020 17:25:28 +0100 Subject: [PATCH 1/5] 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 000000000..e35058ee3 --- /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 From e3fab505f26d0b236aeb920055c29be13f726653 Mon Sep 17 00:00:00 2001 From: acodedoer Date: Sat, 16 May 2020 17:32:01 +0100 Subject: [PATCH 2/5] added currency converter app idea --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 1daf218d8..915640ccf 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,7 @@ required to complete them. | [Card Memory Game](./Projects/2-Intermediate/Card-Memory-Game.md) | Memorize and match hidden images | 2-Intermediate | | [Charity Finder App](./Projects/2-Intermediate/Charity-Finder-App.md) | Find a Global Charity to donate to | 2-Intermediate | | [Chrome Theme Extension](./Projects/2-Intermediate/Chrome-Theme-Extension.md) | Build your own chrome theme extention. | 2-Intermediate | +| [Currency Converter](./Projects/2-Intermediate/Currency-Converter.md) | Convert one currency to another. | 2-Intermediate | | [Drawing App](./Projects/2-Intermediate/Drawing-App.md) | Create digital artwork on the web | 2-Intermediate | | [Emoji Translator App](./Projects/2-Intermediate/Emoji-Translator-App.md) | Translate sentences into Emoji | 2-Intermediate | | [Flashcards App](./Projects/2-Intermediate/FlashCards-App.md) | Review and test your knowledge through Flash Cards | 2-Intermediate | From 627e36d9de2ea9769f5af13bdf17367be84215bb Mon Sep 17 00:00:00 2001 From: acodedoer Date: Sun, 17 May 2020 14:12:36 +0100 Subject: [PATCH 3/5] updated currency converter user stories --- Projects/2-Intermediate/Currency-Converter.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Projects/2-Intermediate/Currency-Converter.md b/Projects/2-Intermediate/Currency-Converter.md index e35058ee3..8af6fa956 100644 --- a/Projects/2-Intermediate/Currency-Converter.md +++ b/Projects/2-Intermediate/Currency-Converter.md @@ -7,9 +7,9 @@ A currency converter is used to convert an amount in one currency to its corresp ## 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 can view a soreted list of available currencies and select the currency to convert from in a source drop-down list +- [ ] User can view a sorted 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 as soon as either the input value, the source currency, or the destination currency is changed. - [ ] User must be alerted if the input is not a number ## Bonus features From 15fb6b496b2adf6b7bef042518d95258a9c4af8c Mon Sep 17 00:00:00 2001 From: acodedoer Date: Sun, 17 May 2020 14:23:03 +0100 Subject: [PATCH 4/5] added example projects to currency converter app --- Projects/2-Intermediate/Currency-Converter.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Projects/2-Intermediate/Currency-Converter.md b/Projects/2-Intermediate/Currency-Converter.md index 8af6fa956..a6ca9406e 100644 --- a/Projects/2-Intermediate/Currency-Converter.md +++ b/Projects/2-Intermediate/Currency-Converter.md @@ -23,3 +23,5 @@ A currency converter is used to convert an amount in one currency to its corresp - [How to use fetch API](https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch) to fetch data ## Example projects +- [Currency Converter](https://acodedoer.github.io/currency-converter/) +- [Currency converter code](https://github.com/acodedoer/currency-converter) From b4ae5d5238d33e70db3faac39d445ccffff6fcad Mon Sep 17 00:00:00 2001 From: acodedoer Date: Sun, 17 May 2020 15:17:18 +0100 Subject: [PATCH 5/5] corrected typos --- Projects/2-Intermediate/Currency-Converter.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Projects/2-Intermediate/Currency-Converter.md b/Projects/2-Intermediate/Currency-Converter.md index a6ca9406e..24d34f725 100644 --- a/Projects/2-Intermediate/Currency-Converter.md +++ b/Projects/2-Intermediate/Currency-Converter.md @@ -2,12 +2,12 @@ **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. +A currency converter is used to convert an amount in one currency to its corresponding value in another currency using their current exchange rate, 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 soreted list of available currencies and select the currency to convert from in a source drop-down list +- [ ] User can view a sorted list of available currencies and select the currency to convert from in a source drop-down list - [ ] User can view a sorted 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 as soon as either the input value, the source currency, or the destination currency is changed. - [ ] User must be alerted if the input is not a number