Skip to content

Hamed R.#13

Open
HamedRazizadeh-hub wants to merge 1 commit into
HackYourAssignment:mainfrom
HamedRazizadeh-hub:main
Open

Hamed R.#13
HamedRazizadeh-hub wants to merge 1 commit into
HackYourAssignment:mainfrom
HamedRazizadeh-hub:main

Conversation

@HamedRazizadeh-hub

Copy link
Copy Markdown

No description provided.

@github-actions

github-actions Bot commented Feb 4, 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 5, 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 @HamedRazizadeh-hub, Overall, great work 👏
You implemented all requirements clearly, and your code is easy to follow.

Good job on the extra effort working on the bonus.

Comment thread finance-tracker/app.js
@@ -1,3 +1,83 @@
// This is the entrypoint for your application.
// This is the entrypoint for your application

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This line could be deleted.

Comment thread finance-tracker/app.js
getTotalIncome,
getTotalExpenses,
getBalance,
getTransactionsByCategory,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Small note 🙂

getTransactionsByCategory is imported here but not used in this file.
It’s best practice to remove unused imports to keep the code clean and easier to read.

Comment on lines 41 to +52
function getLargestExpense() {
// TODO: Implement this function
let largest = null;
for (const transaction of transactions) {
if (
transaction.type === 'expense' &&
(!largest || transaction.amount > largest.amount)
) {
largest = transaction;
}
}
return largest;
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Nice implementation 👍.

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