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 #5377

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

Develop #5377

wants to merge 14 commits into from

Conversation

disiol
Copy link

@disiol disiol commented Feb 8, 2025

Checklist

❗️ Replace <your_account> with your Github username and copy the links to Pull Request description:

❗️ Copy this Checklist to the Pull Request description after links, and put - [x] before each point after you checked it.

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

Great job! 🎉 Your implementation meets all the task requirements and constraints perfectly. The HTML and CSS are well-structured, and you've followed the BEM methodology correctly. Keep up the excellent work! 😊

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

Copy link

@anastasiiavorobiova anastasiiavorobiova left a comment

Choose a reason for hiding this comment

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

Great start!

  • There are a lot of excessive styles
  • Consider using classes with modifiers to set the number of active stars
  • Try to pass tests

src/style.css Outdated
Comment on lines 13 to 16
display: flex;
justify-content: center;
align-items: center;
height: 100vh;

Choose a reason for hiding this comment

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

Suggested change
display: flex;
justify-content: center;
align-items: center;
height: 100vh;

Choose a reason for hiding this comment

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

Still not fixed.

Copy link
Author

Choose a reason for hiding this comment

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

what's wrong here?

Choose a reason for hiding this comment

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

Redundant classes which can break tests

src/style.css Outdated
Comment on lines 24 to 27
align-items: center;
justify-content: center;
width: calc(5 * (var(--star-size) + var(--star-spacing)));
height: calc(5 * (var(--star-size) + var(--row-spacing)));

Choose a reason for hiding this comment

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

Suggested change
align-items: center;
justify-content: center;
width: calc(5 * (var(--star-size) + var(--star-spacing)));
height: calc(5 * (var(--star-size) + var(--row-spacing)));

src/style.css Outdated Show resolved Hide resolved
src/style.css Outdated Show resolved Hide resolved
src/style.css Outdated
Comment on lines 52 to 54
opacity: 1;
padding: 0;
margin: 0;

Choose a reason for hiding this comment

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

Suggested change
opacity: 1;
padding: 0;
margin: 0;

src/index.html Outdated Show resolved Hide resolved
src/index.html Outdated Show resolved Hide resolved
fix
There are a lot of excessive styles
Consider using classes with modifiers to set the number of active stars
denisimus added 2 commits February 8, 2025 13:46
Reference
Test
Diff
label: stars--0selector: .stars--0
filename: stars--0.png
diff%: 9.06 diff-x: 0 diff-y: 0
Reference
Test
Diff
label: stars--1selector: .stars--1
filename: stars--1.png
diff%: 11.25 diff-x: 0 diff-y: 0
Reference
Test
Diff
label: stars--2selector: .stars--2
filename: stars--2.png
diff%: 13.44 diff-x: 0 diff-y: 0
Reference
Test
Diff
label: stars--3selector: .stars--3
filename: stars--3.png
diff%: 15.63 diff-x: 0 diff-y: 0
Reference
Test
Diff
label: stars--4selector: .stars--4
filename: stars--4.png
diff%: 17.81 diff-x: 0 diff-y: 0
Reference
Test
Diff
label: stars--5selector: .stars--5
filename: stars--5.png
diff%: 20.00 diff-x: 0 diff-y: 0
Reference
Test
Diff
Copy link

@vadiimvooo vadiimvooo left a comment

Choose a reason for hiding this comment

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

Good job, there are a few comments to fix.

src/style.css Outdated
Comment on lines 13 to 16
display: flex;
justify-content: center;
align-items: center;
height: 100vh;

Choose a reason for hiding this comment

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

Still not fixed.

src/style.css Outdated Show resolved Hide resolved
background-position: center;
background-image: url('/src/images/star.svg'); /* Default star */
flex-shrink: 0;
margin-right: var(--star-spacing);

Choose a reason for hiding this comment

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

remove this margin for last-child.

Choose a reason for hiding this comment

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

Still not fixed

@disiol disiol requested a review from vadiimvooo February 8, 2025 13:00
Copy link

@vadiimvooo vadiimvooo left a comment

Choose a reason for hiding this comment

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

Seems like you haven't changed anything. Please feel free to ask for help in fe_chat.

src/style.css Outdated
Comment on lines 13 to 16
display: flex;
justify-content: center;
align-items: center;
height: 100vh;

Choose a reason for hiding this comment

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

Redundant classes which can break tests

src/style.css Outdated Show resolved Hide resolved
background-position: center;
background-image: url('/src/images/star.svg'); /* Default star */
flex-shrink: 0;
margin-right: var(--star-spacing);

Choose a reason for hiding this comment

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

Still not fixed

@disiol disiol requested a review from vadiimvooo February 9, 2025 09:44
src/index.html Outdated
Comment on lines 52 to 57
<div class="stars stars--5">
<div class="stars__star active"></div>
<div class="stars__star active"></div>
<div class="stars__star active"></div>
<div class="stars__star active"></div>
<div class="stars__star active"></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--5">
<div class="stars__star active"></div>
<div class="stars__star active"></div>
<div class="stars__star active"></div>
<div class="stars__star active"></div>
<div class="stars__star active"></div>
<div class="stars stars--5">
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>
<div class="stars__star"></div>

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.

4 participants