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

add task solution #4451

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

add task solution #4451

wants to merge 8 commits into from

Conversation

Ehulinian
Copy link

Copy link

@volodymyr-soltys97 volodymyr-soltys97 left a comment

Choose a reason for hiding this comment

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

Good job 👍
Let's improve your code

src/index.html Outdated
Comment on lines 14 to 16
<link rel="preconnect"
href="https://fonts.gstatic.com/"
crossorigin="true">

Choose a reason for hiding this comment

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

Need to fix code style everywhere

Suggested change
<link rel="preconnect"
href="https://fonts.gstatic.com/"
crossorigin="true">
<link
rel="preconnect"
href="https://fonts.gstatic.com/"
crossorigin="true"
>

src/index.html Outdated
Comment on lines 24 to 25
<img src="./images/logo.png" alt="Moyo logo"
class="logo__image">

Choose a reason for hiding this comment

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

The same as above, check and fix it everywhere

Suggested change
<img src="./images/logo.png" alt="Moyo logo"
class="logo__image">
<img
src="./images/logo.png"
alt="Moyo logo"
class="logo__image"
>

src/index.html Outdated
Comment on lines 35 to 36
</li>
<li class="nav__item">

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

Suggested change
</li>
<li class="nav__item">
</li>
<li class="nav__item">

src/style.css Outdated
}

.nav__link:hover {
color: #00acdc;

Choose a reason for hiding this comment

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

Create the variable for repeated color and use it everywhere

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

.nav__link.is-active {

Choose a reason for hiding this comment

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

Suggested change
.nav__link.is-active {
.is-active {

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

.nav__link.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
.nav__link.is-active::after {
.is-active::after {

Copy link

@Esceype Esceype left a comment

Choose a reason for hiding this comment

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

GJ!
But still need to fix some code style issues

src/index.html Outdated
Comment on lines 26 to 29
<a href="#" class="logo">
<img src="./images/logo.png"
alt="Moyo logo"
class="logo__image">
Copy link

Choose a reason for hiding this comment

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

Suggested change
<a href="#" class="logo">
<img src="./images/logo.png"
alt="Moyo logo"
class="logo__image">
<a href="#" class="logo">
<img
src="./images/logo.png"
alt="Moyo logo"
class="logo__image"
>

src/index.html Outdated
Comment on lines 47 to 49
<a href="#"
class="nav__link"
data-qa="hover">
Copy link

Choose a reason for hiding this comment

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

Suggested change
<a href="#"
class="nav__link"
data-qa="hover">
<a
href="#"
class="nav__link"
data-qa="hover"
>

@Ehulinian Ehulinian requested a review from Esceype February 10, 2024 14:46
Copy link

@VitaliyBondarenko1982 VitaliyBondarenko1982 left a comment

Choose a reason for hiding this comment

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

Looks good

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