Skip to content

dom_parse_list_task#1941

Open
TarasYelahin wants to merge 2 commits intomate-academy:masterfrom
TarasYelahin:develop
Open

dom_parse_list_task#1941
TarasYelahin wants to merge 2 commits intomate-academy:masterfrom
TarasYelahin:develop

Conversation

@TarasYelahin
Copy link

No description provided.

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

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

Review Summary

Great job on this task! The logic for sorting the list and parsing the salaries is well-implemented. However, I am requesting a small change because there's an issue that prevents the getEmployees function from working correctly. You've defined the function to accept a list element as an argument, but when you call it, you're not passing anything, which will cause a runtime error. To fix this, please pass the list variable to the getEmployees function, just like you did for the sortList function. Once you make that change, everything should work as expected!


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Important

Fix the issues, commit the changes, and then re-request my review using the Re-request review button2 in the Reviewers tab.

Tip

If you have any comments about this review, please leave a message in the Add a comment section below and mention me with the @mateacademy-ai-mentor tag3.
I will read your message during my next review of your pull request. Please do not reply directly to my comments, as that feature is not supported yet.

Caution

Do not close the pull request until the review is complete. Closing it early can lead to unexpected behavior and disrupt the review process.

Footnotes

  1. Rate AI review example

  2. Re-request AI review example

  3. Add AI review comments example

});
}
sortList(list);
getEmployees();

Choose a reason for hiding this comment

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

The getEmployees function expects a list element as an argument, but it's being called without one. You should pass the list variable to this function, similar to how you called sortList.

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

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

Review Summary

Excellent work on this submission! You've successfully addressed the feedback from the previous review by correctly passing the list variable to the getEmployees function. The code is now clean, well-structured, and fully meets all the task requirements. The logic for sorting and parsing the data is solid. I am happy to approve your solution, great job!


✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨

Footnotes

  1. Rate AI review example

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants