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

add task solution #4937

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

yuliiazubenko
Copy link

  • DEMO LINK
  • TEST REPORT LINK
    [x]Yellow stars are added with container modifier + pseudo-selector (NO extra classes)
    [x]Each BEM block has its own separate file
    [x]All Typical Mistakes from BEM lesson theory are checked.
    [x]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.

Your code is well-structured and follows good practices. There are a few minor issues to consider for the future, like providing a fallback font-family and adjusting margin application, but they don't significantly 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! ✨

@@ -1 +1,25 @@
/* add styles here */
body {
margin: 0;

Choose a reason for hiding this comment

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

You are using the body tag for styling. It's recommended to use classes instead of tag names for styling (except for html and body). So, this is acceptable in this case.

@@ -1 +1,25 @@
/* add styles here */
body {
margin: 0;
}

Choose a reason for hiding this comment

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

You have not provided a fallback font-family. If the main one doesn't work, the browser will use a default one which may not fit your design.

background-image: url(images/star.svg);
background-repeat: no-repeat;
background-position: center;
margin-right: 4px;

Choose a reason for hiding this comment

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

You have applied margin to the right of each star. This is not consistent with the guideline to apply margin only to the top or bottom of elements. Consider changing this to margin-bottom and adjusting your layout 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