added task solution - #6981
Conversation
mateacademy-ai-mentor
left a comment
There was a problem hiding this comment.
Review Summary
I am requesting changes because there is a critical checklist violation: the stars BEM block styles are not in their own file [CHECKLIST ITEM #2]. In src/style.css, all styles for the stars block are grouped together instead of being moved to a dedicated src/stars.css. The checklist explicitly requires each BEM block to live in its own file, so this must be addressed before approval.
What to fix:
- Move all rules for the
starsblock (e.g.,.stars,.stars__star,.stars--0….stars--5, and any related pseudo-selectors) fromsrc/style.cssinto a new filesrc/stars.css. - Update your HTML to include
stars.css(e.g., add a<link>tag) and ensure no regressions.
Everything else looks solid: the HTML uses correct BEM naming and structure, and the CSS meets functional requirements (sizes, layout, background images, and modifier behavior). Once the block is split into its own file, this should be ready to approve. Keep up the good work!
✨ 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 +1,41 @@ | |||
| /* add styles here */ | |||
There was a problem hiding this comment.
Checklist Item #2 violation: Each BEM block must have its own separate file. The stars block styles should be moved to a dedicated stars.css file instead of being in style.css.
mateacademy-ai-mentor
left a comment
There was a problem hiding this comment.
Review Summary
Your implementation is approved. All requirements have been successfully met: the stars block styles are properly separated into src/stars.css [CHECKLIST ITEM #2], the HTML uses correct BEM naming with exactly 6 blocks and 5 stars each, modifiers stars--0 through stars--5 correctly activate N stars using :nth-child(-n + N) selectors, display: flex is used without the gap property, and stars are styled with background-image for both inactive and active states. The code follows all style guidelines with proper indentation and no extra classes. Great work completing this task!
✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨
DEMO LINK
TEST REPORT LINK
Yellow stars are added with container modifier + pseudo-selector (NO extra classes)
Each BEM block has its own separate file
All
Typical MistakesfromBEMlesson theory are checked.Code follows all the Code Style Rules ❗️