-
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
Develop #5924
base: master
Are you sure you want to change the base?
Develop #5924
Conversation
winzzzton
commented
Jan 10, 2025
•
edited
Loading
edited
- DEMO LINK
- TEST REPORT LINK
- Header height is set in 1 place (for the links)
- Content is vertically centered (for any header height)
- CSS is used to show all letters in Uppercase (don't type them in HTML)
- Logo is an image wrapped with a link
- CSS Variable is used for a blue color
- Pseudo-element is used for a blue line below the active link
- Code follows all the Code Style Rules ❗️
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 implementation! 🎉 Your code meets most of the task requirements and constraints, and the functionality is intact. While there are a few minor issues, such as the use of the universal selector *
and the need for a more descriptive alt
attribute for the logo image, these do not significantly impact the functionality of your code. Keep up the good work, and consider these suggestions for future improvements! 😊
✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨
src/style.css
Outdated
@@ -1,3 +1,79 @@ | |||
body { | |||
:root { | |||
--blue-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.
It seems like there is a missing semicolon at the end of the CSS variable declaration --blue-color: #00acdc
. Adding a semicolon will ensure proper CSS syntax.
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.
Not fixed
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.
Seems like you forgot to deploy your solution, please make it and ask for review once again.
src/index.html
Outdated
</a> | ||
<nav class="menu"> | ||
<ul class="nav"> | ||
<li><a href="#" class="nav-link is-active">Apple</a></li> |
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.
<li><a href="#" class="nav-link is-active">Apple</a></li> | |
<li> | |
<a | |
href="#" | |
class="nav-link is-active" | |
> | |
Apple | |
</a> | |
</li> |
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.
Please refactor your code according to styleguide
src/style.css
Outdated
@@ -1,3 +1,79 @@ | |||
body { | |||
:root { | |||
--blue-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.
Not fixed
src/style.css
Outdated
|
||
header { | ||
width: 100%; | ||
height: 60px; |
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.
Height should not be hardcoded to header, instead it should be used for links
src/style.css
Outdated
font-family: 'Roboto', sans-serif; | ||
} | ||
|
||
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.
Use class selector, the same for other selectors
src/style.css
Outdated
.logo { | ||
width: 40px; | ||
height: 40px; | ||
margin-left: 50px; |
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.
Instead of margin for this element use padding for header
src/style.css
Outdated
width: 40px; | ||
height: 40px; | ||
margin-left: 50px; | ||
margin-top: 10px; |
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.
Just use align-items cented to center element vertically inside header