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

Develop #5088

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

Develop #5088

wants to merge 4 commits into from

Conversation

xxxKoRoBoKxxx
Copy link

@xxxKoRoBoKxxx xxxKoRoBoKxxx commented Dec 19, 2024

  • DEMO LINK

  • TEST REPORT LINK

  • there 2 BEM blocks card and stars each in their 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.


Thank you for your hard work on this project! 😊 There are a couple of critical issues that need to be addressed before we can approve the pull request:

  1. BEM Block Separation: The task requires that the card and stars BEM blocks be separated into their own SCSS files. Currently, both blocks are defined within the same SCSS file (index.scss). Please separate them into individual files as per the requirement.

  2. Font-Size Unit: The font-size property in the .card__buy class is missing a unit. Please specify it as '14px', '14rem', etc., to ensure proper rendering across different browsers.

Once these issues are resolved, your solution will be in great shape! Keep up the great work, and I'm looking forward to seeing the updated version. 🚀

✨ 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.

Comment on lines 134 to 142
&__buy {
box-sizing: border-box;
display: block;
margin-top: 16px;
width: 166px;
height: $buyButtonHeight;

line-height: $buyButtonHeight;
font-size: 14;

Choose a reason for hiding this comment

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

The font-size property on line 142 is missing a unit. It should be specified as '14px' or '14rem', etc., to ensure proper rendering across different browsers.

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 addressing the previous issues! 🎉 The card and stars BEM blocks are now correctly separated into their own SCSS files, _card.scss and _stars.scss, respectively. The font-size property in the .card__buy class is also correctly specified. All task requirements and constraints have been met, and the code adheres to the specified guidelines.

However, please ensure that the HTML file references the separated SCSS files appropriately, as it currently links to a single index.scss file. This is crucial for maintaining the modular structure of your stylesheets.

Keep up the good work, and remember to review the comments to improve your code further. Addressing these issues will help you avoid similar problems in the future and enhance your learning experience. 🚀

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

<link
href="https://fonts.googleapis.com/css2?family=Manrope:[email protected]&family=Roboto:wght@400;500;700&family=Sen:[email protected]&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="./styles/index.scss"

Choose a reason for hiding this comment

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

The task requires that the card and stars BEM blocks be separated into their own SCSS files. Currently, the HTML file links to a single index.scss file. Please separate the SCSS files for each BEM block and update the link references accordingly.

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