Skip to content
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 #4931

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

DmytroPAvlichenko
Copy link

[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 ❗️]

src/index.html Outdated
<li class="nav__item">
<a
href="#"
class="nav__link apple is-active"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
class="nav__link apple is-active"
class="nav__link is-active"

src/style.css Outdated
margin-left: 0;
}

a.is-active::after {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
a.is-active::after {
.nav__link.is-active::after {

style it by class

src/style.css Outdated
color: #00acdc;
}

:hover {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
:hover {
.nav__link:hover {

}

:hover {
color: #00acdc;

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not fixed!

Copy link
Author

@DmytroPAvlichenko DmytroPAvlichenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

я виправив помилки

Copy link

@anastasiia-tilikina anastasiia-tilikina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost done!
pls pay attention to the comments

}

:hover {
color: #00acdc;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not fixed!

src/index.html Outdated
Comment on lines 34 to 62
<header class="header">
<a
href="index.html"
class="logo"
>
<img
src="images/logo.png"
alt="Moyo_logo"
class="logo__img"
/>
</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>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<header class="header">
<a
href="index.html"
class="logo"
>
<img
src="images/logo.png"
alt="Moyo_logo"
class="logo__img"
/>
</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="index.html"
class="logo"
>
<img
src="images/logo.png"
alt="Moyo_logo"
class="logo__img"
/>
</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>

pls fix everywhere

and pay attention to this rule
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants