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

Update readme.md #5192

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

Update readme.md #5192

wants to merge 4 commits into from

Conversation

Evergardn
Copy link

  • DEMO LINK

  • TEST REPORT LINK

  • Yellow stars are added with container modifier + pseudo-selector (NO extra classes)

  • Each BEM block has its own separate file

  • All Typical Mistakes from BEM lesson theory are checked.

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

Sorry, the pull request review was unsuccessful for the following reasons:

Warning

There are no files to review. Please make sure that you have added files to the pull request. Some files and directories may be ignored from the review or failed to load.
[CODE: 4]

Additional info:
Ignored files list:

  • readme.md

If the issue is within your control, please address it.
The next review attempt will automatically launch in 1 hour.
If you believe this is an error or need assistance, please contact the support team.

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.

Sorry, the pull request review was unsuccessful for the following reasons:

Warning

There are no files to review. Please make sure that you have added files to the pull request. Some files and directories may be ignored from the review or failed to load.
[CODE: 4]

Additional info:
Ignored files list:

  • readme.md

If the issue is within your control, please address it.
The next review attempt will automatically launch in 1 hour.
If you believe this is an error or need assistance, please contact the support team.

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.

Sorry, the pull request review was unsuccessful for the following reasons:

Warning

There are no files to review. Please make sure that you have added files to the pull request. Some files and directories may be ignored from the review or failed to load.
[CODE: 4]

Additional info:
Ignored files list:

  • readme.md

If the issue is within your control, please address it.
The next review attempt will automatically launch in 1 hour.
If you believe this is an error or need assistance, please contact the support team.

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.

Sorry, the pull request review was unsuccessful for the following reasons:

Warning

There are no files to review. Please make sure that you have added files to the pull request. Some files and directories may be ignored from the review or failed to load.
[CODE: 4]

Additional info:
Ignored files list:

  • readme.md

If the issue is within your control, please address it.
The next review attempt will automatically launch in 1 hour.
If you believe this is an error or need assistance, please contact the support team.

Copy link

@etojeDenys etojeDenys left a comment

Choose a reason for hiding this comment

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

don't forget to push your code to github

src/index.html Outdated
Comment on lines 16 to 17
<div class="stars stars--0">
<div class="star__element"></div>

Choose a reason for hiding this comment

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

Suggested change
<div class="stars stars--0">
<div class="star__element"></div>
<div class="stars stars--0">
<div class="stars__element"></div>

follow the BEM pattern (block__element)

.stars--3 .star__element:nth-child(-n + 3)::before,
.stars--4 .star__element:nth-child(-n + 4)::before,
.stars--5 .star__element:nth-child(-n + 5)::before {
z-index: 2;

Choose a reason for hiding this comment

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

looks redundant

@Evergardn Evergardn requested a review from etojeDenys March 1, 2025 15:29
Comment on lines +1 to +20
.stars__element {
width: 16px;
height: 16px;
display: flex;
justify-content: center;
align-items: center;
margin-right: 4px;
position: relative;
}

.stars__element::before {
content: '';
width: 12px;
height: 12px;
background-image: url('../images/star.svg');
background-size: cover;
background-repeat: no-repeat;
display: block;
z-index: 1;
}

Choose a reason for hiding this comment

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

you don't need to create files for each element, only for each bem block

Comment on lines +1 to +20
.stars__element {
width: 16px;
height: 16px;
display: flex;
justify-content: center;
align-items: center;
margin-right: 4px;
position: relative;
}

.stars__element::before {
content: '';
width: 12px;
height: 12px;
background-image: url('../images/star.svg');
background-size: cover;
background-repeat: no-repeat;
display: block;
z-index: 1;
}

Choose a reason for hiding this comment

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

you should not use before or after here, just add the background-image to stars-element

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.

3 participants