-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 #5629
base: master
Are you sure you want to change the base?
Develop #5629
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 meets many of the task requirements, there are a few critical issues that need to be addressed before we can approve the pull request.
-
Navigation Links: The
href
attributes for the navigation links are set to#
, which means they won't lead anywhere. This is a critical functionality issue as it affects navigation within your application. Please update these links to point to actual sections or pages. -
CSS Selector Usage: Using the universal selector
*
to reset margins and paddings can impact performance. It's important to target specific elements instead to ensure better performance and maintainability. -
CSS Variable for Blue Color: The task requires the use of a CSS variable for the blue color, which is currently missing. Implementing this will enhance the maintainability of your styles.
Once these issues are resolved, your code will be in great shape! Keep up the good work, and feel free 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.
<li class="nav__item"> | ||
<a | ||
class="nav__link is-active" | ||
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 is set to #
, which means this link will not navigate to a different page or section. Consider updating this to point to an actual section or page.
<li class="nav__item"> | ||
<a | ||
class="nav__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 is set to #
, which means this link will not navigate to a different page or section. Consider updating this to point to an actual section or page.
<li class="nav__item"> | ||
<a | ||
class="nav__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 is set to #
, which means this link will not navigate to a different page or section. Consider updating this to point to an actual section or page.
<a | ||
class="nav__link" | ||
data-qa="hover" | ||
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 is set to #
, which means this link will not navigate to a different page or section. Consider updating this to point to an actual section or page.
<li class="nav__item"> | ||
<a | ||
class="nav__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 is set to #
, which means this link will not navigate to a different page or section. Consider updating this to point to an actual section or page.
<li class="nav__item"> | ||
<a | ||
class="nav__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 is set to #
, which means this link will not navigate to a different page or section. Consider updating this to point to an actual section or page.
<li class="nav__item"> | ||
<a | ||
class="nav__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 is set to #
, which means this link will not navigate to a different page or section. Consider updating this to point to an actual section or page.
<li class="nav__item"> | ||
<a | ||
class="nav__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 is set to #
, which means this link will not navigate to a different page or section. Consider updating this to point to an actual section or page.
|
||
.nav { | ||
align-content: center; | ||
font-family: Roboto, sans-serif; |
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 font-family 'Roboto' is used here, but make sure it is correctly imported in your HTML file. It seems to be imported via a link tag, which is good practice.
.nav { | ||
align-content: center; | ||
font-family: Roboto, sans-serif; | ||
font-size: 12px; |
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 font-size is set to 12px, which might be too small for readability on some devices. Consider using a relative unit like 'em' or 'rem' for better scalability.
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! 🎉 Your code meets most of the task requirements, and you've done well with the structure and styling. However, there are a few areas for improvement:
- CSS Variable for Blue Color: Define a CSS variable for the blue color
#00ACDC
and use it throughout your stylesheet. - CSS Style for Uppercase Letters: Use
text-transform: uppercase;
in your CSS to ensure all letters are displayed in uppercase. - CSS Code Style: Remove unnecessary semicolons for cleaner code, such as the one after
color: #00ACDC;
. - CSS Fallback Fonts: Ensure consistent use of fallback fonts like
font-family: Roboto, sans-serif;
. - HTML Formatting: Follow guidelines like 2-space indentation and keeping lines to a maximum of 80 characters.
- Accessibility: Consider replacing
href="#"
with actual URLs or JavaScript for better accessibility and usability.
These improvements will enhance your code quality and maintainability. 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="nav__item"> | ||
<a | ||
class="nav__link is-active" | ||
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 navigation links is set to #
, which is not ideal for accessibility and usability. Consider using actual URLs or JavaScript to handle navigation if these are placeholders.
<a | ||
class="nav__link" | ||
data-qa="hover" | ||
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 data-qa
attribute is used here, which might be intended for testing purposes. Ensure that this is necessary for your application, as it can add unnecessary complexity if not used properly.
.is-active, | ||
.nav__link:hover { | ||
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.
There is an unnecessary semicolon here. While it doesn't affect functionality, it's good practice to remove it for cleaner code.
src/style.css
Outdated
height: 4px; | ||
border-radius: 2px; | ||
background-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.
Similar to line 48, this semicolon is unnecessary and can be removed for cleaner code.
DEMO LINK
TEST REPORT LINK