-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
moyo header #6096
base: master
Are you sure you want to change the base?
moyo header #6096
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 pull request! 😊 However, there are a couple of critical issues that need to be addressed before we can approve it:
-
Font Embedding: The task requires using the Roboto font with only the roman style, medium (500) weight, and normal width. Currently, the
index.html
file includes multiple weights (300, 400, 500), which does not comply with the requirement. Please adjust the font embedding to meet the specified criteria. -
CSS Variable for Blue Color: The task specifies using a CSS variable for the blue color, but this is not implemented in the code. Please add a CSS variable for the blue color to align with the task requirements.
-
Logo Link Protocol: The 'href' attribute for the logo link is missing the protocol. It should be something like 'http://localhost:8080' to ensure it is a valid URL.
-
Navigation Links: There are multiple navigation links pointing to the same URL ('https://www.samsung.com/'). Please review these links to ensure they direct users to the correct destinations.
Once these issues are resolved, we can proceed with the approval. 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.
src/index.html
Outdated
|
||
<a | ||
class="link" | ||
href="localhost:8080" |
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 for the logo link is missing the protocol. It should be something like 'http://localhost:8080' to ensure it is a valid URL.
src/index.html
Outdated
href="https://www.samsung.com/" | ||
> | ||
Samsung | ||
</a> | ||
</li> | ||
<li class="nav__item"> | ||
<a | ||
class="nav__link" | ||
href="https://www.samsung.com/" | ||
> | ||
Smartphones | ||
</a> | ||
</li> | ||
<li class="nav__item"> | ||
<a | ||
class="nav__link" | ||
data-qa="hover" | ||
href="https://www.samsung.com/" | ||
> | ||
Laptops & computers | ||
</a> | ||
</li> | ||
<li class="nav__item"> | ||
<a | ||
class="nav__link" | ||
href="https://www.samsung.com/" | ||
> | ||
Gadgets | ||
</a> | ||
</li> | ||
<li class="nav__item"> | ||
<a | ||
class="nav__link" | ||
href="https://www.samsung.com/" | ||
> | ||
Tablets | ||
</a> | ||
</li> | ||
<li class="nav__item"> | ||
<a | ||
class="nav__link" | ||
href="https://www.samsung.com/" | ||
> | ||
Photo | ||
</a> | ||
</li> | ||
<li class="nav__item"> | ||
<a | ||
class="nav__link" | ||
href="https://www.samsung.com/" |
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.
Several navigation links have the same 'href' attribute pointing to 'https://www.samsung.com/'. Ensure that each link directs to the intended destination, as having multiple links pointing to the same URL might not be intentional.
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 job on addressing most of the issues from the previous review! 🎉 Your updates have significantly improved the code, and it now aligns well with the task requirements. Here are some key points and suggestions for further improvement:
-
Logo Link Protocol: The
href
attribute for the logo link is currently set to"#"
. While this is acceptable as a placeholder, it's important to update it to a valid URL, such ashttp://localhost:8080
, to ensure proper functionality in a real-world scenario. -
Font Embedding: You've successfully embedded the Roboto font with the correct style, weight, and width. This aligns perfectly with the task requirements.
-
CSS Variable for Blue Color: The implementation of a CSS variable for the blue color is well-executed, ensuring consistency across your styles.
-
Navigation Links: The navigation links now point to different URLs, resolving the previous issue of redundancy.
Your code is approved to help you move forward with your learning journey. Please review the comments and address any remaining issues, especially the critical ones, to enhance your skills and avoid similar problems in the future. Keep up the great work and continue learning from your experiences! 🚀
✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨
<header class="header"> | ||
<a | ||
class="link" | ||
href="#" |
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 for the logo link is set to '#', which is not a valid URL. Please update it to include a protocol, such as 'http://localhost:8080', to ensure it is a valid URL.
❗️ Copy this
Checklist
to thePull Request
description after links, and put- [x]
before each point after you checked it.