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

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

Conversation

vasylzelenchuk
Copy link

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.

Your implementation is almost there, but there are a few critical issues that need to be addressed to meet the task requirements. The use of incorrect class names like star1, star2, etc., violates the task constraints, which specify only using stars--N and stars__star. Additionally, each BEM block should have its own file, which is currently missing. Please make these adjustments, and you'll be all set! Keep up the great work and don't hesitate to reach out if you need any help. 😊

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

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

Great job on addressing most of the previous feedback! 🎉 Your HTML and CSS structure is mostly correct and follows the BEM methodology well. However, there are a few areas that need improvement:

  1. Class Naming: The class all__stars should be renamed to stars__container to better align with BEM conventions. Additionally, ensure that the class names for the stars are stars__star instead of star as per the task requirements.

  2. BEM Block Files: It's important to separate styles for each BEM block into individual files rather than having a single style.css file. This will help maintain a clean and organized codebase.

  3. Unnecessary Classes: The class all__stars is not required according to the task description and should be removed.

These changes are crucial for maintaining a clean and scalable codebase. Although these issues are present, the decision to approve your pull request is made to help you move forward with your learning. Please make sure to address these points in future projects to avoid similar issues. Keep up the good work and continue to learn from your experiences! 🚀

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

@@ -13,6 +13,54 @@
/>
</head>
<body>
<h1>Stars</h1>
<div class="all__stars">

Choose a reason for hiding this comment

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

The class all__stars does not follow the BEM naming convention properly. Consider renaming it to something like stars__container to better align with BEM methodology.

margin: 0;
}

.stars {

Choose a reason for hiding this comment

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

Ensure that the class name all__stars from the HTML file is updated here as well to match the BEM convention, such as stars__container, if styles are needed for it.

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