Skip to content

Conversation

@Yusuprozimemet
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
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 @Yusuprozimemet

Overall good and I think you meet most of the requirements. I left some minor comments in line. Some things you could've done better according to the assignment guidelines:

  • Add comments in some complex logic.
  • Format the codebase with Prettier (some places have odd spacings)
  • Improved the format output to match with the given example.

Good luck!

// Place here the transaction data array. Use it in your application as needed.
const transactions = []; No newline at end of file
const transactions = [
{id: 1,
Copy link

Choose a reason for hiding this comment

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

Formatting seems a bit odd here. Did you run prettier?

const typeLabel = type === 'income' ? chalk.green('Income') : chalk.red('Expense');
const coloredAmount = type === 'income' ? chalk.green(`${amount}`) : chalk.red(`${amount}`);
const coloredCategory = chalk.yellow(`${category}`);
console.log(`${index}. [${typeLabel}] ${coloredCategory} - ${coloredAmount} (${description})`);
Copy link

Choose a reason for hiding this comment

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

Label type should be fully uppercase and not colored.

@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