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

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

Conversation

OleksandrHaman
Copy link

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 work! Added a few comments to fix tests


body {
margin: 0;
}

Choose a reason for hiding this comment

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

Consider moving general styles to a separate file

height: $imageHeight;
align-items: center;
margin-bottom: 40px;
padding-left: 3px;

Choose a reason for hiding this comment

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

Suggested change
padding-left: 3px;
margin-right: auto;
margin-left: auto;

transition: all $transitionTime;

&__title {
margin: 0;

Choose a reason for hiding this comment

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

Suggested change
margin: 0;

font-weight: 500;
font-size: 12px;
line-height: 18px;
margin-bottom: 4px;

Choose a reason for hiding this comment

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

Suggested change
margin-bottom: 4px;
margin: 0 0 5px;

}

&__code {
margin: 0;

Choose a reason for hiding this comment

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

Suggested change
margin: 0;

font-weight: 400;
font-size: 10px;
color: #616070;
margin-bottom: 16px;

Choose a reason for hiding this comment

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

Suggested change
margin-bottom: 16px;
margin: 0 0 17px;;


&:hover {
border: $headerColor solid 1px;
background-color: #fff;

Choose a reason for hiding this comment

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

Consider using variables for repeating colors

font-family: $mainFont;
font-size: 14px;
border-style: none;
width: 166px;

Choose a reason for hiding this comment

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

Suggested change
width: 166px;
width: 100%;

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 work! Almost done!

html {
font-family: Roboto, sans-serif;
}

body {
margin: 0;
}

Choose a reason for hiding this comment

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

Move general styles to a separate file

}
}

.product-card {

Choose a reason for hiding this comment

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

Move card styles to a separate file

width: $imageWidth;
height: $imageHeight;
align-items: center;
margin-bottom: 40px;

Choose a reason for hiding this comment

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

Suggested change
margin-bottom: 40px;
margin: 0 auto 40px;

Copy link

@lerastarynets lerastarynets left a comment

Choose a reason for hiding this comment

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

You're making excellent progress!

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