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

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

add task solution #3733

wants to merge 3 commits into from

Conversation

DenLys21
Copy link

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.

fix it firstly, you can ask for some help with tests in the chat

src/style.css Outdated
Comment on lines 29 to 57
.stars--1 :first-child {
background-image: url(images/star-active.svg);
background-position: center;
background-repeat: no-repeat;
}

.stars--2 :nth-child(-n + 2) {
background-image: url(images/star-active.svg);
background-position: center;
background-repeat: no-repeat;
}

.stars--3 :nth-child(-n + 3) {
background-image: url(images/star-active.svg);
background-position: center;
background-repeat: no-repeat;
}

.stars--4 :nth-child(-n + 4) {
background-image: url(images/star-active.svg);
background-position: center;
background-repeat: no-repeat;
}

.stars--5 :nth-child(n) {
background-image: url(images/star-active.svg);
background-position: center;
background-repeat: no-repeat;
}

Choose a reason for hiding this comment

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

you can join these using the comma

src/style.css Outdated
Comment on lines 31 to 32
background-position: center;
background-repeat: no-repeat;

Choose a reason for hiding this comment

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

it's redundant 'cause you specified that in .stars__star

src/style.css Outdated
Comment on lines 14 to 18
.stars {
width: 96px;
display: flex;
justify-content: space-between;
}

Choose a reason for hiding this comment

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

Suggested change
.stars {
width: 96px;
display: flex;
justify-content: space-between;
}
.stars {
display: flex;
}

it's redundant 'cause you specified the width property in star styles

src/style.css Outdated
Comment on lines 9 to 12
.container {
display: flex;
flex-direction: column;
}

Choose a reason for hiding this comment

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

remove the container too

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.

good job

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