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

product-cards #5140

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

Conversation

greyhoundIlya
Copy link

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 Blocks Separation: The requirement specifies that the card and stars BEM blocks should be in their own separate files. Please ensure these blocks are correctly separated to meet the task requirements.

  2. Stars Block: The task requires the stars block to be rewritten using SCSS. Please verify and update this block as needed to fulfill the requirement.

  3. Class Name Typo: There's a minor typo in the class name card-imge. It should be corrected to card-image to ensure styles are applied correctly.

Once these issues are resolved, your code will be in great shape! Keep up the great work, and feel free to reach out if you have any questions or need further assistance. 🚀

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

box-sizing: border-box;
background-color: #fff;

&-imge {

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-imge. It should be card-image to match the HTML class name and ensure styles are applied correctly.

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 submission! 🎉 While your code is generally well-structured, there are a few critical issues that need attention to enhance its functionality and maintainability.

  1. BEM Blocks Separation: Ensure that the card and stars BEM blocks are separated into their own files as per the task requirements. This will help in maintaining a clean and organized codebase.

  2. SCSS Compilation: Avoid linking SCSS files directly in HTML. Instead, use the Parcel bundler to compile SCSS into CSS. This will ensure that your styles are applied correctly and efficiently.

  3. Typo in Variable Name: Correct the typo in the SCSS variable name from $colors-backgraund to $colors-background to ensure the intended styles are applied.

These improvements are crucial for the functionality and clarity of your code. Please address these issues in future submissions to avoid similar problems. Keep up the good work and continue learning from these experiences! 🚀

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

@@ -11,8 +11,126 @@
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.

Linking SCSS files directly in HTML is not recommended as the Parcel bundler should handle the compilation. Ensure that the SCSS files are compiled into CSS files by Parcel.

/>
<link
rel="stylesheet"
href="./styles/change.scss"

Choose a reason for hiding this comment

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

Similar to the previous comment, ensure that SCSS files are compiled into CSS by the Parcel bundler instead of linking them directly in HTML.

@@ -0,0 +1,4 @@
$colors-btn: #00acdc;
$colors-backgraund: #f3f3f3;

Choose a reason for hiding this comment

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

There's a typo in the variable name $colors-backgraund. It should be $colors-background to ensure clarity and consistency.

}

.card {
border: 1px solid $colors-backgraund;

Choose a reason for hiding this comment

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

The variable $colors-backgraund contains a typo. It should be $colors-background to match the corrected variable name in change.scss.


.card-button:hover {
color: $colors-btn;
background-color: $colors-backgraund;

Choose a reason for hiding this comment

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

Ensure the variable $colors-backgraund is corrected to $colors-background to apply the intended background color.

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