Conversation
sycons
left a comment
There was a problem hiding this comment.
Following were implemented:
- Setup & configure project ✅
- Create a transactions array ✅
- Implement required functions ✅
- Implement display requirements ✅
- Display summary report ✅
- Code quality ✅
Well done! Your code is clear in it's implementation and you've used javascript well (appropriate loops, object destructuring) ⭐
I've provided some feedback to improve the structure of your app. This is usually how apps are strucutured i.e. functions and the calls to them are in different files.
| @@ -1,27 +1,132 @@ | |||
| import { transactions } from './data.js'; | |||
|
|
|||
There was a problem hiding this comment.
Remove extra lines between import statements. Not a deal breaker, but preferred way to format files.
|
|
||
| import chalk from 'chalk'; | ||
|
|
||
| console.log(chalk.bold('💰 PERSONAL FINANCE TRACKER 💰')); |
There was a problem hiding this comment.
Move these lines to app.js. This file is the entry point and statements that should be executed like console.log() and your functions should be called in app.js.
This file finance.js should have only your functions.
No description provided.