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

Develop #5521

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

Develop #5521

wants to merge 11 commits into from

Conversation

NDie1311
Copy 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 ❗️

Sorry, something went wrong.

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

Hey! 👋 There are a few things we need to address before merging this in. In src/index.html, please ensure you're using 2 spaces for indentation and add an empty line between multiline sibling blocks. Also, in src/style.css, avoid using tag names like body for styling, as this goes against our style rules. Plus, remember each BEM block should ideally have its own separate file. Let's get these sorted! 🚀


✨ 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

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

Okay, the review is complete. I'm approving this pull request to help you move forward, but please carefully review the comments below to improve your code!
Here's a summary of the key issues to address:

  • CSS Structure: The checklist specifies that each BEM block should ideally have its own separate file. Consider refactoring your CSS to adhere to this structure, separating styles for different blocks into their respective files. This will improve maintainability and organization.
  • Tag Name Styling: Styling the .page selector (which is implicitly the body tag) violates the rule against using tag names for styling (except html and body). As noted in the checklist, use .classes and, if needed, with :pseudo-classes, pseudo-elements, and [attributes] instead.

These issues are important to address to align with the project's guidelines. Keep up the good work, and don't hesitate to ask if you have any questions as you work on these improvements! You are doing great, keep up the good work! 👍


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

Footnotes

  1. Rate AI review example

src/style.css Outdated
Comment on lines 2 to 4
.page{
margin: 0;
}

Choose a reason for hiding this comment

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

Styling .page selector (which is the body tag) violates the rule against using tag names for styling. Please, use .classes and if needed with :pseudo-classes, pseudo-elements and [attributes] instead. See the checklist for details.

.stars--4 .stars__star:nth-child(-n + 4),
.stars--5 .stars__star:nth-child(-n + 5) {
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.

Each BEM block should ideally have its own separate file. Consider refactoring your CSS to adhere to this structure, separating styles for different blocks into their respective files as per the checklist.

Copy link
Author

@NDie1311 NDie1311 left a comment

Choose a reason for hiding this comment

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

Please review

Copy link
Author

@NDie1311 NDie1311 left a comment

Choose a reason for hiding this comment

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

Review please

@NDie1311
Copy link
Author

Please review again the Backstop report is correct now

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

None yet

2 participants