-
Notifications
You must be signed in to change notification settings - Fork 5k
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
base: master
Are you sure you want to change the base?
add task solution #5794
Conversation
There was a problem hiding this 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.
- CSS Selector Usage: Avoid using the universal selector
*
for resetting margins and paddings due to potential performance impacts. - Header Width: The header should stretch the full page width, but it's currently set to a fixed width of 1200px.
- CSS Variable for Blue Color: Implement a CSS variable for the blue color as required by the task.
- 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.
There was a problem hiding this 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" |
There was a problem hiding this comment.
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 @@ | |||
* { |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
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.
There was a problem hiding this 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 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
header { | |
.header { |
.nav-link:hover { | ||
color: #00acdc; | ||
} | ||
|
||
.nav-link.is-active { | ||
color: #00acdc; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.nav-link:hover { | |
color: #00acdc; | |
} | |
.nav-link.is-active { | |
color: #00acdc; | |
} | |
.nav-link:hover, | |
.nav-link.is-active { | |
color: #00acdc; | |
} |
No description provided.