Skip to content

Solution#1990

Open
mariiamad wants to merge 2 commits into
mate-academy:masterfrom
mariiamad:develop
Open

Solution#1990
mariiamad wants to merge 2 commits into
mate-academy:masterfrom
mariiamad:develop

Conversation

@mariiamad
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown

@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

The request meets all required criteria and is ready for approval.


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

Footnotes

  1. Rate AI review example

Comment thread src/scripts/main.js Outdated

items.forEach((item) => {
// eslint-disable-next-line no-shadow
const name = item.querySelector('li');
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 queries for an <li> element inside the current <li>, which won't find the name correctly. Since item IS the <li> element, you should get the name directly from it (e.g., using a data attribute or textContent).

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