-
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
Develop #5835
base: master
Are you sure you want to change the base?
Develop #5835
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 implementation is mostly correct, there are a few critical issues that need to be addressed before we can approve the pull request:
-
CSS Variable for Blue Color: The task requires using a CSS variable for the blue color. Currently, the color
#00acdc
is used directly without defining it as a CSS variable. This is important for maintainability and consistency. -
href
Attributes: All navigation links currently point to 'index.html'. If these links are intended to navigate to different sections or pages, please ensure thehref
attributes are correctly set to the respective URLs. This is crucial for the functionality of the navigation. -
Accessibility Improvements: Consider providing a more descriptive
alt
attribute for the logo image. Instead of 'MOYOlogo', using something like 'Moyo Company Logo' would improve accessibility.
Once these issues are resolved, your code will be in great shape! Keep up the great work, and feel free to reach out if you have any questions or need further assistance. 🚀
✨ 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.
Thank you for your efforts on this task! 🎉 Your implementation shows a good understanding of CSS variables, as evidenced by the consistent use of --primary-color
throughout your stylesheet. However, there are a few critical areas that need attention:
-
href
Attributes: The navigation links currently point to 'index.html'. If these links are meant to direct users to different sections or pages, please ensure thehref
attributes are updated to the correct URLs. -
Accessibility: The
alt
attribute for the logo image is currently 'MOYOlogo'. To enhance accessibility, consider using a more descriptive text like 'Moyo Company Logo'.
These improvements are crucial for meeting the task requirements and ensuring a better user experience. While the decision is to approve this pull request to help you progress in your learning journey, it's important to address these issues in future submissions to avoid similar problems. Keep up the great work and continue learning from these experiences! 🚀
✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨
<!-- <h1>Moyo header</h1> --> | ||
<header class="header"> | ||
<a | ||
href="index.html" |
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 href
attribute is set to 'index.html'. If this link is intended to navigate to a different section or page, please ensure the href
attribute is correctly set to the respective URL.
> | ||
<img | ||
src="images/logo.png" | ||
alt="MOYOlogo" |
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 providing a more descriptive alt
attribute for the logo image. Instead of 'MOYOlogo', using something like 'Moyo Company Logo' would improve accessibility.
<ul class="nav-links"> | ||
<li class="link"> | ||
<a | ||
href="index.html" |
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 href
attribute is set to 'index.html'. If this link is intended to navigate to a different section or page, please ensure the href
attribute is correctly set to the respective URL.
</a> | ||
</li> | ||
<li class="link"> | ||
<a href="index.html">samsung</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 href
attribute is set to 'index.html'. If this link is intended to navigate to a different section or page, please ensure the href
attribute is correctly set to the respective URL.
<a href="index.html">samsung</a> | ||
</li> | ||
<li class="link"> | ||
<a href="index.html">smartphones</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 href
attribute is set to 'index.html'. If this link is intended to navigate to a different section or page, please ensure the href
attribute is correctly set to the respective URL.
</li> | ||
<li class="link"> | ||
<a | ||
href="index.html" |
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 href
attribute is set to 'index.html'. If this link is intended to navigate to a different section or page, please ensure the href
attribute is correctly set to the respective URL.
</a> | ||
</li> | ||
<li class="link"> | ||
<a href="index.html">gadgets</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 href
attribute is set to 'index.html'. If this link is intended to navigate to a different section or page, please ensure the href
attribute is correctly set to the respective URL.
<a href="index.html">gadgets</a> | ||
</li> | ||
<li class="link"> | ||
<a href="index.html">tablets</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 href
attribute is set to 'index.html'. If this link is intended to navigate to a different section or page, please ensure the href
attribute is correctly set to the respective URL.
<a href="index.html">tablets</a> | ||
</li> | ||
<li class="link"> | ||
<a href="index.html">photo</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 href
attribute is set to 'index.html'. If this link is intended to navigate to a different section or page, please ensure the href
attribute is correctly set to the respective URL.
<a href="index.html">photo</a> | ||
</li> | ||
<li class="link last"> | ||
<a href="index.html">video</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 href
attribute is set to 'index.html'. If this link is intended to navigate to a different section or page, please ensure the href
attribute is correctly set to the respective URL.
DEMO LINK