-
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 moyo header #4862
base: master
Are you sure you want to change the base?
add moyo header #4862
Conversation
denis-denis718
commented
Apr 18, 2024
•
edited
Loading
edited
- DEMO LINK
- TEST REPORT LINK
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, deploy your solution and provide a demo link in the PR description
I don't understand what happens , when i open the correct version of this work, and mine, they are the same, but tests every time telling me it's not true... |
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/index.html
Outdated
</a> | ||
<nav class="nav"> |
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.
</a> | |
<nav class="nav"> | |
</a> | |
<nav class="nav"> |
src/index.html
Outdated
</li> | ||
<li class="nav__item"> |
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.
Add the blank line between the links
</li> | |
<li class="nav__item"> | |
</li> | |
<li class="nav__item"> |
src/index.html
Outdated
<!-- <body> | ||
<header class="navigation"> | ||
<div class="navigation__wrapper"> | ||
<div class="navigation__logo"> | ||
<img | ||
src="./images/logo.png" | ||
alt="moyo_icon" | ||
class="navbar-icon" |
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.
Remove comments
src/style.css
Outdated
|
||
padding: 0 50px; | ||
|
||
background: #fff; |
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 default color
background: #fff; |
src/style.css
Outdated
} | ||
|
||
.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.
Create a variable for repeated color and use it everywhere
src/style.css
Outdated
/* body { | ||
--primary-color: #00acdc; | ||
|
||
margin: 0; | ||
font-family: Roboto, sans-serif; | ||
} | ||
|
||
header { | ||
display: block; |
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 same, remove all comments
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.
lgtm
.nav__link:hover { | ||
color: var(--main-color); | ||
} | ||
|
||
.nav__link.is-active { | ||
color: var(--main-color); | ||
} |
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.
.nav__link:hover { | |
color: var(--main-color); | |
} | |
.nav__link.is-active { | |
color: var(--main-color); | |
} | |
.nav__link:hover, | |
.nav__link.is-active { | |
color: var(--main-color); | |
} |