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

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

add solution #4297

wants to merge 3 commits into from

Conversation

OlehPhw
Copy link

@OlehPhw OlehPhw commented Apr 10, 2024

  • 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

@Esceype Esceype left a comment

Choose a reason for hiding this comment

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

GJ!
Read the following comments:

Comment on lines 11 to 28
@keyframes scale {
100% {
transform: scale(1.2);
}
}

@keyframes title-color {
100% {
color: #34568b;
}
}

@keyframes button-change {
100% {
background-color: #fff;
color: $button-color;
}
}
Copy link

Choose a reason for hiding this comment

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

Use transition instead of all these animations

src/index.html Outdated
Comment on lines 116 to 121
/>
<h2 class="card__name-panel">
APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A)
</h2>
<p class="card__product-code">Product code: 195434</p>
<div class="card__review">
Copy link

Choose a reason for hiding this comment

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

Suggested change
/>
<h2 class="card__name-panel">
APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A)
</h2>
<p class="card__product-code">Product code: 195434</p>
<div class="card__review">
/>
<h2 class="card__name-panel">
APPLE A1419 iMac 27" Retina 5K Monoblock (MNED2UA/A)
</h2>
<p class="card__product-code">Product code: 195434</p>
<div class="card__review">

border-radius: 8px;
}

@keyframes nav-color {
Copy link

Choose a reason for hiding this comment

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

Use transition

margin-bottom: 4px;
}

&:hover {
Copy link

Choose a reason for hiding this comment

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

This hover effect should be smooth for both cases when mouse enter on element and when it leaves

height: 40px;
}

&__nav {
Copy link

Choose a reason for hiding this comment

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

Nav should be a separate BEM block so please make it and move to a separate file since it is block

@OlehPhw
Copy link
Author

OlehPhw commented Apr 10, 2024

fixes applied

@OlehPhw OlehPhw requested a review from Esceype April 10, 2024 18:32
Copy link

@IvanFesenko IvanFesenko left a comment

Choose a reason for hiding this comment

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

Well done

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.

3 participants