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

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

Develop #4451

wants to merge 5 commits into from

Conversation

nataSokolnikova
Copy link

  • DEMO LINK

  • TEST REPORT LINK

  • All component follow BEM and use SCSS

  • repaeted sizes and special colors are put to variables

  • Grid is used for the columns

  • cards are shown in 1, 2, 3 or 4 columns based on screen resolution

  • All changes on :hover are smooth

  • Code follows all the Code Style Rules ❗️

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! Keep doing!

</a>
</li>
</ul>
</nav>

Choose a reason for hiding this comment

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

Screenshot 2024-06-17 at 13 43 18 Check styles for active and hover links

transition: transform 300ms;
}

img {

Choose a reason for hiding this comment

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

Consider using class selectors for styling

background-repeat: no-repeat;
width: 160px;
height: 134px;
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;
display: block;

<div class="stars__star"></div>
</div>

<p class="card__review">Reviews:5</p>

Choose a reason for hiding this comment

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

Suggested change
<p class="card__review">Reviews:5</p>
<p class="card__review">Reviews: 5</p>

Choose a reason for hiding this comment

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

There is space between words


.card__title {
width: 100%;
height: 36px;

Choose a reason for hiding this comment

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

Suggested change
height: 36px;

}
}

[data-qa='nav-hover']:hover {

Choose a reason for hiding this comment

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

Consider using class selectors

}

[data-qa='nav-hover']:hover {
color: #00acdc;

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

Comment on lines +48 to +49
width: 98px;
height: 14px;

Choose a reason for hiding this comment

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

Suggested change
width: 98px;
height: 14px;

background-image: url(../../images/star.svg);
}

.stars--4 :nth-child(-n + 4) {

Choose a reason for hiding this comment

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

All modifiers should be working. Consider using classes from the previous task for them

.main {
box-sizing: border-box;
width: 944px;
height: 100vh;

Choose a reason for hiding this comment

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

Suggested change
height: 100vh;

Copy link

@l4st1m0za l4st1m0za left a comment

Choose a reason for hiding this comment

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

.

Copy link

@l4st1m0za l4st1m0za 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.

3 participants