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

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

add task solution #5794

wants to merge 2 commits into from

Conversation

Sloventiy
Copy link

No description provided.

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.

Thank you for your hard work on this project! 😊 While your code is well-structured and organized, there are a few critical issues that need to be addressed to meet the task requirements.

  1. CSS Selector Usage: Avoid using the universal selector * for resetting margins and paddings due to potential performance impacts.
  2. Header Width: The header should stretch the full page width, but it's currently set to a fixed width of 1200px.
  3. CSS Variable for Blue Color: Implement a CSS variable for the blue color as required by the task.
  4. Line Height: The line height is set to a non-standard value, which should be adjusted as per task instructions.

These changes are essential to ensure the functionality and requirements are fully met. Once these are addressed, your code will be in great shape! Keep up the great work and feel free to reach out if you have any questions. 🌟

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

🔄 Fix the issues, commit the changes, and then re-request my review using the Re-request review button in the Reviewers tab.

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! 🎉 While there are a few areas that need improvement, such as using a CSS variable for the blue color, adjusting the line height to a standard value, avoiding the universal selector for performance reasons, and correcting the class name to avoid special characters, your code demonstrates a solid understanding of HTML and CSS fundamentals.

The decision to approve is made to encourage you to continue progressing in your learning journey. Please take the time to review the comments and make the necessary adjustments to enhance your code quality. Addressing these issues will help you avoid similar problems in the future and improve your coding skills. Keep up the good work and continue learning from these experiences! 🚀

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

<li class="style">
<a
href="#"
class="nav-link for-test:hover"

Choose a reason for hiding this comment

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

The class name 'for-test:hover' is not a valid class name because it includes a pseudo-class ':hover'. Class names should not contain colons or other special characters. Consider renaming this class to something more appropriate, like 'hover-test'.

@@ -1,3 +1,85 @@
* {

Choose a reason for hiding this comment

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

Avoid using the universal selector '*' for resetting margins and paddings as it can lead to performance issues. Consider using a more specific selector or a CSS reset/normalize stylesheet.

font-weight: 450;
font-family: Roboto, sans-serif;
font-size: 15px;
line-height: 14.06px;

Choose a reason for hiding this comment

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

The line height is set to a non-standard value of 14.06px. It's recommended to use a unitless value or a value that is a multiple of the font size for better readability and consistency.

width: 100%;
justify-content: space-between;
height: 60px;
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 CSS variable for the blue color (#00acdc) as required by the task. This will make it easier to maintain and update the color scheme.

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

padding: 0;
}

header {

Choose a reason for hiding this comment

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

Suggested change
header {
.header {

Comment on lines +64 to +70
.nav-link:hover {
color: #00acdc;
}

.nav-link.is-active {
color: #00acdc;
}

Choose a reason for hiding this comment

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

Suggested change
.nav-link:hover {
color: #00acdc;
}
.nav-link.is-active {
color: #00acdc;
}
.nav-link:hover,
.nav-link.is-active {
color: #00acdc;
}

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