-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Solution #5801
base: master
Are you sure you want to change the base?
Solution #5801
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 you've made great progress, there are a few critical issues that need to be addressed before we can approve the pull request:
-
Unmatched HTML Tag: There's an unmatched closing
</a>
tag that needs correction to ensure proper HTML structure. This is important for the page to render correctly. -
Logo Link: The logo should be wrapped in a link (
<a>
tag), but currently, it is not. This affects the semantic structure and functionality. -
CSS Variable for Blue Color: The task requires using a CSS variable for the blue color, but the current CSS directly uses the color code
#00ACDC
. Implementing a variable will improve maintainability. -
Header Height: The CSS does not explicitly set a height for the nav links, which is a requirement.
-
Use of
*
Selector: The use of the*
selector is discouraged due to potential performance impacts. Consider revising this.
Please address these issues to meet the core requirements of the task. Once resolved, your solution will be in great shape! Keep up the good work, and don't hesitate to reach out if you need any help. 🌟
✨ 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.
src/index.html
Outdated
<div class="image"> | ||
<img src="./images/logo.png" alt="logo Moyo"> | ||
</div> | ||
</a> |
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.
There is an unmatched closing </a>
tag here. It seems to be misplaced as there is no corresponding opening <a>
tag. Please remove or correct this to maintain proper HTML structure.
src/style.css
Outdated
margin: 0; | ||
display: flex; | ||
padding: 0; | ||
margin-right: -20px; |
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 margin-right: -20px;
might cause layout issues by pulling the last item in the .nav-index
list too far to the left. Consider adjusting this value to ensure proper alignment.
src/style.css
Outdated
color: #00ACDC; | ||
} | ||
|
||
.is.active { |
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 selector .is.active
seems incorrect. If you intend to target elements with both is
and active
classes, there should be no space between them. However, if you meant to target elements with both classes separately, use .is .active
with a space.
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.
Review Summary
Great progress! 🎉 You've successfully resolved several key issues, including the unmatched closing </a>
tag and correctly wrapping the logo in a link. The CSS now includes a variable for the blue color, and the header height is explicitly set, which is excellent. However, the use of the universal selector *
is still present and should be revised to avoid potential performance impacts.
The decision to approve is made to help you move forward with your learning. Please review the comments to further improve your code. Addressing the use of the *
selector is crucial for optimizing performance. 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! ✨
<a | ||
href="https://s3-alpha-sig.figma.com/img/833f/9aab/47d660efd384318772b6b8040db831aa?Expires=1734912000&Key-Pair-Id=APKAQ4GOSFWCVNEHN3O4&Signature=dswIrz-CM71mAanXGvKRXPjecjfgsdMxLMX42Ga2sG0CuUJJq4Jy5x5rODTPEzbqmmsgmlLLJss2~eQyfosxdUyGRzIGLeAOMJ13tFeyrIB5YiQQRtx~9LeDXPrYCLGvDa4mViqCuhj-IPGhPDrlsLYG7kCfSvZ9UHMBqlZ8WDyj4zCQ3o-5AuD5tBRIqrPEmgqFO161Qu7yXjPjXvFbJM8Iu-4jf45HZy5io3OmyRZdOyfPL~Z0GkyPChoNWJax7ioZ9o6xNZu271LRecCkmoaeEBlFF~8dRZSJqXl0E9A4w2v6wXO6E8vkZioe9b8bl0wiOHVJQEDxCqzP5H9YYA__" | ||
> | ||
<img | ||
src="./images/logo.png" | ||
alt="logo Moyo" | ||
/> | ||
</a> |
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 logo is now correctly wrapped in a link (<a>
tag), which addresses the previous issue. Ensure that the link is styled appropriately in your CSS.
* { | ||
box-sizing: border-box; | ||
margin: 0; | ||
padding: 0; | ||
} |
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 use of the universal selector *
is discouraged as it can lead to performance issues. Consider applying styles more selectively to improve performance.
No description provided.