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 #5495

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

add task solution #5495

wants to merge 3 commits into from

Conversation

KiT4Er1
Copy link

@KiT4Er1 KiT4Er1 commented Mar 14, 2025

  • 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 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.

Hi! 👋 There are a couple of issues that need addressing before this PR can be approved. First, the HTML indentation in src/index.html needs to be corrected to improve readability. Second, the style.css should only contain @import './stars.css';, you shouldn't be importing other star styles here. Fix these and we're good to go! You're almost there! 😉

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

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

🤖 If you have any comments on my review, please leave a message in the Add a comment field and mention me with @mateacademy-ai-mentor. I will take your feedback into account in the next review.

@KiT4Er1 KiT4Er1 closed this Mar 14, 2025
@KiT4Er1 KiT4Er1 reopened this Mar 14, 2025
Comment on lines 24 to 30
.stars--1 .star:nth-child(-n + 1) {
background: url(../images/star-active.svg) no-repeat center;
}

.stars--2 .star:nth-child(-n + 2) {
background: url(../images/star-active.svg) no-repeat center;
}

Choose a reason for hiding this comment

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

Suggested change
.stars--1 .star:nth-child(-n + 1) {
background: url(../images/star-active.svg) no-repeat center;
}
.stars--2 .star:nth-child(-n + 2) {
background: url(../images/star-active.svg) no-repeat center;
}
.stars--1 .star:nth-child(-n + 1),
.stars--2 .star:nth-child(-n + 2) {
background: url(../images/star-active.svg) no-repeat center;
}

combine all those selectors with comma

@KiT4Er1 KiT4Er1 requested a review from etojeDenys March 31, 2025 19:09
@KiT4Er1
Copy link
Author

KiT4Er1 commented Mar 31, 2025

я випадково запросив ментора, вибачте(

Copy link

@vadiimvooo vadiimvooo left a comment

Choose a reason for hiding this comment

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

Well done

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.

4 participants