Skip to content

done#6121

Open
Nikitos787 wants to merge 1 commit intomate-academy:masterfrom
Nikitos787:homework
Open

done#6121
Nikitos787 wants to merge 1 commit intomate-academy:masterfrom
Nikitos787:homework

Conversation

@Nikitos787
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown

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

Review Summary

Excellent work on this task! I am approving your solution as it meets all the core functional requirements. The BEM methodology and SCSS features are used effectively, and the layout is fully responsive as required.

I have a couple of small suggestions to make your code even better:

  • The file src/styles/font.scss is unused and imports Google Fonts, which goes against the project's code style guidelines. It's best to remove this file since you've correctly linked the fonts in index.html.
  • In src/styles/nav.scss, the transition property order is unconventional. For better readability, the standard syntax is transition: color $transition-duration ease-in-out;.

These are minor points for future reference. Great job overall!


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

Footnotes

  1. Rate AI review example

Comment thread src/styles/font.scss
@@ -0,0 +1 @@
@import 'https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap';
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

According to the Code Style Rules, importing Google Fonts within an SCSS file is not allowed. All fonts should be linked in the <head> of the HTML file, which you have already done correctly in index.html. This file is also not imported anywhere, so it's unused. Please remove this file to comply with the project's guidelines.

Comment thread src/styles/nav.scss
color: $primary;
font-weight: 500;
font-size: 12px;
transition: ease-in-out $transition-duration color;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This is a minor point, but the order of the values in your transition property is unconventional. The standard syntax is transition: <property> <duration> <timing-function>. It's a good practice to follow this order for better readability and to avoid potential issues in some browsers. Please adjust it to transition: color $transition-duration ease-in-out;.

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