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 solution #4777

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

add solution #4777

wants to merge 2 commits into from

Conversation

pogorielova
Copy link

  • DEMO LINK

  • TEST REPORT LINK

  • All component follow BEM and use SCSS

  • repaeted sizes and special colors are put to variables

  • Grid is used for the columns

  • cards are shown in 1, 2, 3 or 4 columns based on screen resolution

  • All changes on :hover are smooth

  • Code follows all the [Code Style Rules ❗️]

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 organizing the HTML and using SCSS effectively! 🎉 While there are a few suggestions for improvement, they don't impact the core functionality. Keep up the good work and consider the feedback for future enhancements!

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

Comment on lines 6 to 7
justify-items: center;
justify-content: center;

Choose a reason for hiding this comment

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

Using both 'justify-items' and 'justify-content' on the same grid container might be redundant. 'justify-items' aligns the items within their grid areas, while 'justify-content' aligns the grid within its container. Consider if both are necessary for your layout.

Comment on lines +40 to +46
:first-child {
margin-left: 0;
}

:last-child {
margin-right: 0;
}

Choose a reason for hiding this comment

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

The selectors :first-child and :last-child are not scoped to any specific element within the .header class. They should be applied to specific elements, such as .header__nav-item:first-child and .header__nav-item:last-child, to ensure they target the correct elements.

Comment on lines +48 to +50
:hover {
color: $accentColour;
}

Choose a reason for hiding this comment

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

The :hover selector is not scoped to any specific element within the .header class. It should be applied to a specific element, such as .header__nav-link:hover, to ensure it targets the correct elements.

}

.container {
width: fit-content;

Choose a reason for hiding this comment

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

Using fit-content for the width might not be the best choice for a container. Consider using a more responsive approach, such as percentages or max-width, to ensure better adaptability across different screen sizes.

}

&:hover {
transform: scale(120%);

Choose a reason for hiding this comment

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

The scale value in the transform property should be a decimal value. Instead of 'scale(120%)', it should be 'scale(1.2)'.

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