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

made catalog #4789

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

made catalog #4789

wants to merge 3 commits into from

Conversation

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

It looks like there are a couple of issues that need to be addressed before we can approve this pull request. The color value format and the CSS selector need corrections to ensure the code functions as intended. Once these are fixed, you'll be all set! Keep up the great work! 😊

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

Comment on lines 29 to 31
&:hover &__title {
color: #34568b;
}

Choose a reason for hiding this comment

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

The selector &:hover &__title is incorrect because it implies that &__title is a descendant of &:hover, which is not possible. You might want to use &:hover .card__title instead to target the .card__title element when the .card is hovered.

align-items: center;
justify-content: space-between;
padding: 0 50px;
box-shadow: 0 2px 4px 0 #0000000d;

Choose a reason for hiding this comment

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

The color value '#0000000d' seems to be using an incorrect format. The correct format for a color with alpha transparency in hexadecimal is '#RRGGBBAA'. Please ensure the alpha value is correctly formatted.

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 your SCSS files! 🎉 Your use of BEM methodology and CSS variables is commendable. While the hover selector could be improved for better adherence to BEM principles, the overall structure and consistency of your code are impressive. Keep up the good work, and make sure to address the hover selector issue in future projects to enhance your skills further. Keep learning and improving! 🚀

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

Comment on lines 29 to 31
&:hover .card__title {
color: #34568b;
}

Choose a reason for hiding this comment

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

The selector &:hover .card__title might not work as expected because BEM methodology suggests using a single class for each element. Consider using a more specific class for the hover state.

--column-count: 1;

display: grid;
grid-template-columns: repeat(auto-fill, 200px);

Choose a reason for hiding this comment

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

you need to use your var here
image

instead of auto-fill

Copy link

@volodymyr-soltys97 volodymyr-soltys97 left a comment

Choose a reason for hiding this comment

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

Great! 🔥

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