forked from florinpop17/app-ideas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request florinpop17#182 from acodedoer/master
adding currency converter app idea
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# 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 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 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 | ||
|
||
## 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 | ||
- [Currency Converter](https://acodedoer.github.io/currency-converter/) | ||
- [Currency converter code](https://github.com/acodedoer/currency-converter) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters