Develop#6140
Conversation
shadow-sourse
commented
Mar 25, 2026
- DEMO LINK
- TEST REPORT LINK
mateacademy-ai-mentor
left a comment
There was a problem hiding this comment.
Review Summary
Great job on the overall structure and the responsive grid layout! However, this requires changes as several key requirements haven't been met, which is causing the automated tests to fail.
Here are the main points to address:
- Smooth Transitions: Several hover effects are not smooth. Please add a
300mstransitionto the card scaling (.card), the button's background color (.card__button), and its text color (.card__button-link). [CHECKLIST ITEM #5] - Missing Hover Effect: The requirement to change the card title's color to
#34568bon hover is missing. This new color should also be added as a variable. [CHECKLIST ITEM #2] - Incorrect Class Names: The active navigation link needs the class
is-active(notnav__link--active), and the logo's class should besite-header__logoto follow BEM conventions. [CHECKLIST ITEM #1]
Fixing these issues should get your tests passing. Keep up the great work!
✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨
Important
Fix the issues, commit the changes, and then re-request my review using the Re-request review button2 in the Reviewers tab.
Tip
If you have any comments about this review, please leave a message in the Add a comment section below and mention me with the @mateacademy-ai-mentor tag3.
I will read your message during my next review of your pull request. Please do not reply directly to my comments, as that feature is not supported yet.
Caution
Do not close the pull request until the review is complete. Closing it early can lead to unexpected behavior and disrupt the review process.
Footnotes
| } | ||
|
|
||
| &__link { | ||
| position: relative; |
There was a problem hiding this comment.
This class name logo does not follow BEM naming conventions. Since the logo is part of the site-header block, its class should be site-header__logo. This violates checklist item #1: 'All components follow BEM and use SCSS'. You'll also need to update the selector in header.scss.
| @@ -0,0 +1,74 @@ | |||
| body { | |||
There was a problem hiding this comment.
To make the card scaling on hover smooth, you need to add the transition property to the .card block. The requirement specifies a 300ms duration. This violates checklist item #5: 'All changes on :hover are smooth'.
|
|
||
| &__link { | ||
| position: relative; | ||
|
|
There was a problem hiding this comment.
The requirement to change the title color to #34568b when the card is hovered is missing. You need to add a new style rule for this state (e.g., within the .card block: &:hover &__title { ... }). Also, remember to add a transition property to this &__title element to make the color change smooth, as per the requirements.
| color: $blue-accent; | ||
| } | ||
|
|
||
| &--active { |
There was a problem hiding this comment.
The task requires using the class is-active for the active navigation link. This selector &--active corresponds to the BEM modifier nav__link--active. Please update the selector to target .is-active (e.g., &.is-active) and adjust the class name in your index.html file accordingly.
| @@ -0,0 +1,74 @@ | |||
| body { | |||
There was a problem hiding this comment.
The task requires changing the card title's color to #34568b on hover. According to checklist item #2, 'Repeated sizes and special colors are put to variables', so this color should be defined as a variable in this file.
| <li class="nav__item"> | ||
| <a | ||
| href="#..." | ||
| class="nav__link nav__link--active" |
There was a problem hiding this comment.
The task requirement specifies adding the class is-active to the active navigation link. While using a BEM modifier like nav__link--active is good practice, please adhere to the specific instructions provided in the task description.
| @@ -0,0 +1,29 @@ | |||
| main { | |||
There was a problem hiding this comment.
The card scaling on hover is not smooth. According to the task requirements, all hover changes must happen over 300ms. You need to add a transition property to the .card selector to animate the transform property. This violates checklist item #5: 'All changes on :hover are smooth'.
| gap:46px 48px; | ||
| justify-content: center; | ||
|
|
||
| } |
There was a problem hiding this comment.
The requirement to change the card title's text color to #34568b on hover is missing. You should add a rule for .card__title inside this :hover block. Also, remember to add this new color to your _variable.scss file as per checklist item #2: 'Repeated sizes and special colors are put to variables'.
| @import 'blocks/card'; | ||
| @import 'blocks/stars'; | ||
| @import 'blocks/header'; | ||
| @import'blocks/catalog'; |
There was a problem hiding this comment.
There should be a space between @import and the file path to maintain a consistent code style, as shown in the project's code style rules. This violates checklist item #6: 'Code follows all the [Code Style Rules ❗️]'.
| $main-accent: #060b35; | ||
| $secondary-accent: #616070; | ||
| $blue-accent: #00acdc; | ||
| $white: #fff; | ||
| $background: #f3f3f3; |
There was a problem hiding this comment.
The task requires changing the card title's color to #34568b on hover. According to checklist item #2, 'Repeated sizes and special colors are put to variables', this color should be defined as a variable in this file.
mateacademy-ai-mentor
left a comment
There was a problem hiding this comment.
Review Summary
Great job addressing the previous feedback on BEM and HTML structure! However, changes are needed as a key requirement is still missing and the automated tests are failing.
The main issue is that the hover effect on the 'Buy' button is not smooth. This violates a core requirement of the task. To fix this, please go to src/styles/blocks/card.scss and:
- Add
transition: background-color 300ms;to the.card__buttonselector. - Add
transition: color 300ms;to the.card__button-linkselector.
Additionally, the visual regression tests are failing. Please download the report artifact from the 'Checks' tab to see a side-by-side comparison of your work and the design, which will help you fix any layout or styling discrepancies. Once these issues are resolved, your solution should be perfect!
✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨
Important
Fix the issues, commit the changes, and then re-request my review using the Re-request review button2 in the Reviewers tab.
Tip
If you have any comments about this review, please leave a message in the Add a comment section below and mention me with the @mateacademy-ai-mentor tag3.
I will read your message during my next review of your pull request. Please do not reply directly to my comments, as that feature is not supported yet.
Caution
Do not close the pull request until the review is complete. Closing it early can lead to unexpected behavior and disrupt the review process.
Footnotes
|
|
||
| color: $main-accent; | ||
| } | ||
| &__button { |
There was a problem hiding this comment.
This hover effect isn't smooth as required. Please add a transition for the background-color property to make the change happen over 300ms. This is part of checklist item #5.
|
|
||
| } | ||
| } | ||
| &__button-link { |
There was a problem hiding this comment.
The text color change on hover also needs to be smooth. You're missing a transition for the color property here. This also relates to checklist item #5.
mateacademy-ai-mentor
left a comment
There was a problem hiding this comment.
Review Summary
Excellent work on this project! I am approving your solution as an educational override so you can move forward, but there are a few important points to review for your next tasks.
You've done a fantastic job with the BEM structure, smooth transitions, and the responsive grid. However, the automated visual tests have failed, which means there are some visual differences between your page and the design. Please download the report artifact from the build (20.x) check to see the exact mismatches.
Here are a couple of smaller SCSS improvements:
- In
src/styles/blocks/stars.scss, please move repeated values like4pxand16pxinto variables as required by the checklist. [CHECKLIST ITEM #2] - The global
bodystyles insrc/styles/blocks/header.scsswould be better placed in a more general file like_base.scssto keep components self-contained.
Keep up the great effort, and remember to check the visual test reports carefully!
✨ Please rate this review in the Platform's notification center1. I will be grateful for your feedback! ✨
Important
Fix the issues, commit the changes, and then re-request my review using the Re-request review button2 in the Reviewers tab.
Tip
If you have any comments about this review, please leave a message in the Add a comment section below and mention me with the @mateacademy-ai-mentor tag3.
I will read your message during my next review of your pull request. Please do not reply directly to my comments, as that feature is not supported yet.
Caution
Do not close the pull request until the review is complete. Closing it early can lead to unexpected behavior and disrupt the review process.
Footnotes
| body { | ||
| margin: 0; | ||
| padding: 0; | ||
|
|
||
| font-family: Roboto, sans-serif; | ||
| font-weight: 500; | ||
| font-style: normal; | ||
| } |
There was a problem hiding this comment.
According to the 'One file — one component' principle from the code style rules, styles for the body tag should not be in the file for the site-header component. It's better to move these global styles to a more general file, for example, a new _base.scss or _scaffolding.scss file, and import it in index.scss.
| margin-right: 4px; | ||
| background-image: url('../images/star.svg'); | ||
| width: 16px; | ||
| height: 16px; |
There was a problem hiding this comment.
This violates checklist item #2: 'Repeated sizes and special colors are put to variables'. The values 4px and 16px are used in multiple places across your project files (e.g., in card.scss and header.scss). To improve maintainability and consistency, please define them as variables in src/styles/variable.scss and use those variables here.
brespect
left a comment
There was a problem hiding this comment.
Good progress, but try to pass all tests before requesting the next review