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

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

Conversation

marc-alzapiedi
Copy link

No description provided.

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.


Thank you for your hard work on this project! 😊 While your code meets many of the task requirements, there are a few critical issues that need to be addressed before we can approve the pull request:

  1. Universal Selector Usage: The use of the universal selector * in your CSS to reset margins can lead to performance issues. It's important to target specific elements instead.

  2. Separate Files for BEM Blocks: The task requires each BEM block to have its own separate CSS file. This is crucial for maintaining a clean and scalable codebase.

  3. Invalid CSS Property: The justify-content: left; property is not valid. Please use justify-content: flex-start; to align items to the left in a flex container.

Please address these issues to ensure your code aligns with the task requirements. Once these changes are made, we can proceed with the approval. Keep up the great work, and don't hesitate to reach out if you have any questions! 🚀

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

src/style.css Outdated

.stars {
display: flex;
justify-content: left;

Choose a reason for hiding this comment

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

The justify-content: left; property is not valid. You should use justify-content: flex-start; to align items to the left in a flex container.

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 addressing the previous issues! 🎉 Your implementation now meets the task requirements, with each BEM block having its own CSS file and the justify-content property correctly set to flex-start. The universal selector has been removed, and the CSS for each stars--N block correctly targets the first N stars. While the code is approved, remember to always double-check that each CSS file corresponds to a specific BEM block. Keep up the good work and continue refining your skills! 🚀

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

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