Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add task solution #5054

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

o-koszalka
Copy link

  • DEMO LINK

  • TEST REPORT LINK

  • [x ] Yellow stars are added with container modifier + pseudo-selector (NO extra classes)

  • [x ] Each BEM block has its own separate file

  • All Typical Mistakes from BEM lesson theory are checked.

  • Code follows all the Code Style Rules ❗️

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.

Great job on meeting the task requirements! 🎉 Your HTML and CSS structure is well-formed and adheres to the specified constraints. While there are a couple of minor improvements suggested, such as adjusting the order of CSS imports and refining the .stars--0 selector, these do not impact the core functionality. Keep up the excellent work and consider these suggestions for future enhancements! 😊

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

Comment on lines +18 to +20
.stars--0 .stars__star:nth-child(-n + 0) {
background-image: url('images/star-active.svg');
}

Choose a reason for hiding this comment

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

The selector .stars--0 .stars__star:nth-child(-n + 0) will not apply any styles because nth-child(-n + 0) does not select any elements. If the intention is to have no active stars, this line can be removed or adjusted to reflect that intention.

Comment on lines +1 to +2
@import 'stars.css';
@import 'reset.css';

Choose a reason for hiding this comment

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

It's generally a good practice to import reset styles before other styles to ensure that the reset is applied first. Consider switching the order of these imports.

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