Call budgetResults(yrIncome, monthlyExpenses) in console.
Click me to go to "How To Use" for full instructions.This console log budget app informs of 50% needs, 30% wants, and 20% savings.
Currently, it is just for residents of California who are single or married filing separately.
For now, it just returns results for income funds of $38,960 to $54,081, $54,082 to $68,350, and $68,351 to $349,137.
- year salary
- monthly expenses
- 50% for needs
- 30% for wants
- 20% for savings
- sum of 50% needs and 30% wants minus monthly expenses(and the same sum minus monthly expenses not times 12).
- Open your terminal, then change directory to Desktop,
then writegit clone https://github.com/stokeddev/budget-app
,
then press the enter key on your keyboard. - In the budget-app folder on the Desktop, find and open the index.html file in a web browser.
- In the web browser of the budget-app tab or window, navigate to the web browser developer tools.
- Find the JavaScript console in the web browser developer tools.
- In the JavaScript console of the opened index.html file, call the budgetResults function by writing budgetResults(yrIncome, monthlyExpenses)
- Replace the function parameters yrIncome and monthlyExpenses with year income number and monthly expenses number respectively.
- Press the enter key on your keyboard to print taxed income budget results in the console.
- Improvements
- Graphical Interface Web App
- code to return results for other income numbers