-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Develop #5017
base: master
Are you sure you want to change the base?
Develop #5017
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your hard work on this project! 😊 There are a few critical issues that need to be addressed before we can approve the pull request. These include separating the SCSS files for the card
and stars
BEM blocks, introducing SCSS variables in a separate file, and correcting several typos in class names that affect functionality. Additionally, ensure the image path and alt text are accurate. Once these changes are made, your code will be in great shape! Keep up the great work! 🚀
✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨
🔄 Fix the issues, commit the changes, and then re-request my review using the Re-request review
button in the Reviewers tab.
class="card__photo" | ||
/> | ||
|
||
<h3 class="card__tittle"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a typo in the class name 'card__tittle'. It should be 'card__title'.
5K Monoblock (MNED2UA/A) | ||
</h3> | ||
|
||
<p class="card__prodact-code">Product code: 195434</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a typo in the class name 'card__prodact-code'. It should be 'card__product-code'.
> | ||
<img | ||
src="images/imac.jpeg" | ||
alt="macbook" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The alt attribute for the image is 'macbook', but the image source is 'imac.jpeg'. Consider updating the alt text to accurately describe the image, such as 'iMac'.
margin: 0 auto 40px; | ||
} | ||
|
||
&__tittle { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a typo in the class name '&__tittle'. It should be '&__title' to match the corrected HTML class name.
font-weight: 500; | ||
} | ||
|
||
&__prodact-code { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a typo in the class name '&__prodact-code'. It should be '&__product-code' to match the corrected HTML class name.
box-sizing: border-box; | ||
|
||
&__photo { | ||
background-image: url(..//images/imac.jpeg); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The URL for the background image contains a double slash ('..//'). It should be corrected to '../images/imac.jpeg'.
-DEMO LINK
[x] there 2 BEM blocks card and stars each in it own file
[x] SCSS Nesting is used for elements, modifiers and pseudo-classes
[x] SCSS Variables are used for main values and placed in a separate file
[x] all stars--N modifiers work as expected (Highlight first N stars)
[x] Code follows all the [Code Style Rules ]