Skip to content

Conversation

@mohammedalfakih-dev
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 +72 to +75
console.log(
`${i + 1}.[${transaction.type.toUpperCase()}]
${transaction.description
}- ${amount}(${chalk.yellow(transaction.category)})`
Copy link

Choose a reason for hiding this comment

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

This should fix the formatting issues:

Suggested change
console.log(
`${i + 1}.[${transaction.type.toUpperCase()}]
${transaction.description
}- ${amount}(${chalk.yellow(transaction.category)})`
console.log(
`${i + 1}.[${transaction.type.toUpperCase()}] ${transaction.description}- ${amount} (${chalk.yellow(transaction.category)})`

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 @mohammedalfakih-dev,

Overall quite good. The output formatting doesn't meet the requirements though. There's a few missing spaces and too many new lines. I added a comment for that.

Also noticed a few smaller points missing:

  • "Use spread operator when adding transactions"
  • "Add comments for complex logic"

Good nevertheless!

@hacdias hacdias added Reviewed This assignment has been reivewed by a mentor and a feedback has been provided and removed To review labels Feb 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Reviewed This assignment has been reivewed by a mentor and a feedback has been provided

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants