-
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
add task solution #4902
base: master
Are you sure you want to change the base?
add task solution #4902
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.
Good job, but pay attention to this comment.
font-family: Roboto, sans-serif; | ||
background-color: azure; | ||
font-weight: 500; | ||
font-style: normal; |
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.
This is the default value, you don't need to specify it.
src/style.css
Outdated
display: flex; | ||
} | ||
|
||
.nav-list 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.
src/style.css
Outdated
color: #00acdc; | ||
} | ||
|
||
.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.
For the same properties it is better to use variables.
Fix it in all code.
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.
Well done, and please pay attention to this comments.
> | ||
<img | ||
src="images/logo.png" | ||
alt="logo" |
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.
font-family: Roboto, sans-serif; | ||
background-color: azure; | ||
font-weight: 500; | ||
font-style: normal; |
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.
font-style: normal; |
[x]Header height is set in 1 place (for the links)
[x] Content is vertically centered (for any header height)
[x]CSS is used to show all letters in Uppercase (don't type them in HTML)
[x] Logo is an image wrapped with a link
[x]CSS Variable is used for a blue color
[x]Pseudo-element is used for a blue line below the active link
[x] Code follows all the Code Style Rules ❗️