-
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 #4735
base: master
Are you sure you want to change the base?
Develop #4735
Conversation
Syogunok
commented
Mar 11, 2024
- 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.
Well done!
Let's just fix a couple of tiny issues here
src/style.css
Outdated
} | ||
|
||
nav { | ||
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.
nav is display: block by default
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.
Should I just delete it?
src/index.html
Outdated
<header class="header"> | ||
<a | ||
href="#" | ||
class="logo" | ||
> | ||
<img | ||
src="images/logo.png" | ||
alt="Moyo logo" | ||
class="logo__image" | ||
/> | ||
</a> | ||
<nav class="nav"> | ||
<ul class="nav__list"> | ||
<li class="nav__item"> | ||
<a | ||
href="#" | ||
class="nav__link is-active" | ||
> | ||
Apple | ||
</a> | ||
</li> | ||
<li class="nav__item"> | ||
<a | ||
href="#" | ||
class="nav__link" | ||
> | ||
Samsung | ||
</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.
<header class="header"> | |
<a | |
href="#" | |
class="logo" | |
> | |
<img | |
src="images/logo.png" | |
alt="Moyo logo" | |
class="logo__image" | |
/> | |
</a> | |
<nav class="nav"> | |
<ul class="nav__list"> | |
<li class="nav__item"> | |
<a | |
href="#" | |
class="nav__link is-active" | |
> | |
Apple | |
</a> | |
</li> | |
<li class="nav__item"> | |
<a | |
href="#" | |
class="nav__link" | |
> | |
Samsung | |
</a> | |
</li> | |
<header class="header"> | |
<a | |
href="#" | |
class="logo" | |
> | |
<img | |
src="images/logo.png" | |
alt="Moyo logo" | |
class="logo__image" | |
/> | |
</a> | |
<nav class="nav"> | |
<ul class="nav__list"> | |
<li class="nav__item"> | |
<a | |
href="#" | |
class="nav__link is-active" | |
> | |
Apple | |
</a> | |
</li> | |
<li class="nav__item"> | |
<a | |
href="#" | |
class="nav__link" | |
> | |
Samsung | |
</a> | |
</li> |
It is a good idea to add blank lines between multiline siblings. pls fix everywhere
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
src/style.css
Outdated
.nav__link.is-active { | ||
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.
.nav__link.is-active { | |
color: #00acdc; | |
} | |
.nav__link:hover { | |
color: #00acdc; | |
} | |
.nav__link.is-active, | |
.nav__link:hover { | |
color: #00acdc; | |
} |
src/style.css
Outdated
right: 0; | ||
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.
move this color to some var and reuse it everywhere