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

catalog #5022

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

catalog #5022

wants to merge 2 commits into from

Conversation

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

Great job on your project! 🎉 While there are a few minor improvements that could be made, such as consolidating media queries and ensuring all colors and sizes are extracted into variables, these do not critically impact the functionality or core requirements of your code. Keep up the good work and consider these suggestions for future enhancements to make your code even more maintainable and efficient. 😊

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

border: 1px solid #f3f3f3;
border-radius: 5px;

translate: transform 300ms;

Choose a reason for hiding this comment

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

The property 'translate' seems to be incorrectly used here. It should be 'transition' to apply a transition effect on the 'transform' property.

Comment on lines 20 to 29
@media (min-width: 1024px) {
.main {
grid-template-columns: repeat(4, 200px);
}
}

@media (min-width: 1024px) {
.main {
padding: 50px 40px 72px;
}

Choose a reason for hiding this comment

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

There are two separate media queries for the 1024px breakpoint. Consider consolidating them into a single media query to improve code efficiency and maintainability.

Comment on lines 12 to 22
@media (width: 1200px) {
.img-link {
margin-right: 419px;
}
}

@media (width: 1024px) {
.img-link {
margin-right: 243px;
}
}

Choose a reason for hiding this comment

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

Using exact widths in media queries (e.g., @media (width: 1200px)) is not ideal for responsive design. Consider using min-width or max-width to create more flexible breakpoints that adapt to a range of screen sizes.

Comment on lines +36 to +38
&__star:nth-child(-n + 4) {
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.

The nth-child(-n + 4) selector is used to apply a different background image to the first four stars. Ensure that this matches the intended design, as it might not be immediately clear why only the first four stars are styled differently. Consider adding a comment to clarify the purpose.

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