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

first commit #4823

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

SerhiiUnhurian
Copy link

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 on your submission! 🎉 Your code meets the core requirements, and you've done well with BEM and SCSS usage. There are some minor suggestions for improvement, such as using variables for colors to enhance maintainability and ensuring accessibility with descriptive alt texts. Keep up the good work, and consider these suggestions for future enhancements! 😊

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

font-family: Roboto, sans-serif;
font-weight: 400;
font-style: normal;
border: 1px solid #f3f3f3;

Choose a reason for hiding this comment

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

Consider using a variable for the border color instead of a hardcoded value #f3f3f3. This will improve maintainability and consistency across your styles.

}

&:hover .card__title {
color: #34568b;

Choose a reason for hiding this comment

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

Consider using a variable for the hover color #34568b to maintain consistency with other color definitions.

}

&__logo {
background-image: url(../images/imac.jpeg);

Choose a reason for hiding this comment

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

Ensure that the image path is correct and the image exists at the specified location. This is more of a reminder to verify assets.

margin-top: 16px;

&:hover {
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 a variable for the hover background color #fff to maintain consistency with other color definitions.


&:hover {
background-color: #fff;
color: #00acdc;

Choose a reason for hiding this comment

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

Consider using a variable for the hover text color #00acdc to maintain consistency with other color definitions.

text-decoration: none;
text-transform: uppercase;
font-weight: 500;
color: #060b35;

Choose a reason for hiding this comment

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

Consider using a variable for the color #060b35 to maintain consistency with other color definitions and improve maintainability.

.stars {
display: flex;

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

The selector &--4 :nth-child(-n + 4) might be too specific and could lead to unexpected styling if not used carefully. Ensure that this class is applied correctly in the HTML to avoid styling issues. Consider using a more descriptive class name if possible.

class="logo"
>
<img
src="./images/logo.png"

Choose a reason for hiding this comment

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

Ensure that the image path is correct and the image exists at the specified location. This is more of a reminder to verify assets.

>
<img
src="./images/logo.png"
alt="nav-logo"

Choose a reason for hiding this comment

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

Consider providing a more descriptive alt text for the logo image to improve accessibility for screen readers.

</li>
<li class="nav__item">
<a
href="#laptops&computers"

Choose a reason for hiding this comment

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

The href attribute value #laptops&computers contains an ampersand, which is not a valid character in a URL fragment identifier. Consider replacing it with a hyphen or another valid character.

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