Skip to content

Conversation

@MunaNasher
Copy link

No description provided.

@github-actions
Copy link

github-actions bot commented Feb 4, 2026

📝 HackYourFuture auto grade

Assignment Score: 0 / 100 ✅

Status: ✅ Passed
Minimum score to pass: 0
🧪 The auto grade is experimental and still being improved

Test Details

@hacdias hacdias self-assigned this Feb 5, 2026
Comment on lines +109 to +110
const typeLabel = type === 'income' ? chalk.green('[INCOME]') : chalk.red('[EXPENSE]');
console.log(`${id}. ${typeLabel} ${description} - €${amount} (${chalk.yellow(category)})`);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the amount should've been red/green and not the text "income"/"expense".

Copy link

@hacdias hacdias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @MunaNasher!

Good overal. You seem to have completed the whole assignment. Some notes:

  • There's some output formatting issues (see inline comment).
  • I feel like you didn't run prettier, since there's some odd (too many) spaces and newlines.
  • I'd recommend splitting the assignment in multiple files. For example: one with the data, one with the functions, and one with the "app" logic that you'll run.

Nevertheless, it's good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants