Skip to content

Pavel T#20

Open
pavel-tisner wants to merge 1 commit into
HackYourAssignment:mainfrom
pavel-tisner:main
Open

Pavel T#20
pavel-tisner wants to merge 1 commit into
HackYourAssignment:mainfrom
pavel-tisner:main

Conversation

@pavel-tisner

Copy link
Copy Markdown

No description provided.

@github-actions

github-actions Bot commented Feb 5, 2026

Copy link
Copy Markdown

📝 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

@mo92othman mo92othman self-assigned this Feb 7, 2026

@mo92othman mo92othman left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey @pavel-tisner , thanks for submitting. Great work! Good luck in the next modules.

Comment thread finance-tracker/app.js
Comment on lines +5 to +14
addTransaction(transactions, {
id: 6,
type: 'income',
category: 'salary',
amount: 3000,
description: 'Monthly salary',
date: '2025-02-15',
});
return printSummary(transactions);
};

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Good design choice using an immutable addTransaction 👍

However, the returned array is not used in app.js, so the new transaction is not included in the summary. There are solutions for that; you could consider them.

@mo92othman mo92othman added Reviewed This assignment has been reivewed by a mentor and a feedback has been provided and removed To review labels Feb 10, 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