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

layout_product-cards #4839

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

Conversation

TaniaFedortsi
Copy link

  • DEMO LINK

  • TEST REPORT LINK

  • there 2 BEM blocks card and stars each in it own file

  • SCSS Nesting is used for elements, modifiers and pseudo-classes

  • SCSS Variables are used for main values and placed in a separate file

  • all stars--N modifiers work as expected (Highlight first N stars)

  • 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! Your code is clean and well-structured. You've followed the BEM methodology correctly and made good use of variables. There are a few minor issues to improve on for next time, but they don't impact the functionality of your code. Keep up the good work! 👍

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

<img
src="images/imac.jpeg"
alt="iMac Product Image"
class="card__image"

Choose a reason for hiding this comment

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

The class name 'card__image' is used for both the div and img elements. This can lead to confusion and unexpected styles being applied. Consider using more descriptive and unique class names for each element. For example, 'card__image-container' for the div and 'card__image' for the img.

<div class="stars__star"></div>
</div>

<p class="card__reviev">Reviews: 5</p>

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__reviev'. It should be 'card__review'.

<div class="card__price">
<p class="card__price-tag">Price:</p>

<p class="card__price-price">$2,199</p>

Choose a reason for hiding this comment

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

The class name 'card__price-price' is a bit redundant. Consider simplifying it to 'card__price-value' or 'card__price-amount'.

@@ -1,3 +1,13 @@
@import './utils/variables';
@import './blocks/card';
@import './blocks/starts';

Choose a reason for hiding this comment

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

There seems to be a typo in the file name. It's supposed to be 'stars' instead of 'starts'.

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