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 #5728

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

Develop #5728

wants to merge 8 commits into from

Conversation

IvanIlnytskyy
Copy link

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

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

Great job on your submission! 🎉 While there are a few minor issues, such as the CSS variable for the blue color and some commented-out code, these don't significantly impact the functionality. Keep up the good work and consider the feedback for future improvements! 😊

✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨

src/index.html Outdated
<li class="nav__item">
<a
href="#"
class="nav__link nav__items"

Choose a reason for hiding this comment

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

The class 'nav__items' seems to be a typo or unnecessary since it is not used elsewhere in the code. Consider removing it or ensuring it is used consistently if intended.

<a
href="#"
class="nav__link nav__items"
data-qa="hover"

Choose a reason for hiding this comment

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

The 'data-qa' attribute is not explained or used in the code. If it's not needed, consider removing it to avoid confusion. If it serves a purpose, ensure it is documented or utilized properly.

src/style.css Outdated
font-weight: 500;
min-width: 1024px;
position: relative;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0, 5);

Choose a reason for hiding this comment

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

The box-shadow property has an incorrect value 'rgba(0, 0, 0, 0, 5)'. The last parameter should be a decimal between 0 and 1 to represent opacity. Consider correcting this to achieve the desired shadow effect.

src/style.css Outdated
Comment on lines 77 to 81
/* .nav__link:hover {
text-decoration: underline;
text-decoration-color: #38a1f6;
text-decoration-thickness: 2px;
} */

Choose a reason for hiding this comment

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

The hover effect for '.nav__link' is commented out. If this effect is intended to be part of the design, consider uncommenting and adjusting it to fit the overall style.

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.

Good job.
Please, check comments and try to fix tests.

src/style.css Outdated
display: block;
text-align: center;
font-size: 12px;
margin-right: 20px;

Choose a reason for hiding this comment

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

set margin right for nav__item. do not set margin-right for last nav__item. it should help to fix tests

Copy link
Author

@IvanIlnytskyy IvanIlnytskyy Nov 25, 2024

Choose a reason for hiding this comment

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

видалив з останнього li клас nav__item, правий марджин 20пкс замість nav__link поставив для класу nav__item. дві помилки зникли ще дві залишились

Comment on lines +49 to +55
.nav__list:first-child {
margin-left: 0;
}

.nav__list:last-child {
margin-right: 0;
}

Choose a reason for hiding this comment

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

Suggested change
.nav__list:first-child {
margin-left: 0;
}
.nav__list:last-child {
margin-right: 0;
}

looks like redundant

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 page

  1. Add blue color for all links when hovering
image
  1. Add the padding right here
image

src/index.html Outdated
<link
rel="stylesheet"
href="./style.css"
/>
</head>
<body>
<h1>Moyo header</h1>
<header>

Choose a reason for hiding this comment

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

Suggested change
<header>
<header class="header">

src/index.html Outdated
Comment on lines 41 to 42
</a>
<nav class="nav">

Choose a reason for hiding this comment

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

Suggested change
</a>
<nav class="nav">
</a>
<nav class="nav">

src/index.html Outdated
Comment on lines 51 to 52
</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
@@ -1,3 +1,75 @@
body {
margin: 0;
padding: 0;

Choose a reason for hiding this comment

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

The body hasn't a padding

Suggested change
padding: 0;

src/style.css Outdated
Comment on lines 6 to 11
.logo img {
max-height: 40px;
margin-left: 50px;
margin-top: 10px;
margin-bottom: 10px;
}

Choose a reason for hiding this comment

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

Suggested change
.logo img {
max-height: 40px;
margin-left: 50px;
margin-top: 10px;
margin-bottom: 10px;
}
.logo {
height: 40px;
width: 40px;
}

src/style.css Outdated
Comment on lines 19 to 20
min-width: 1024px;
position: relative;

Choose a reason for hiding this comment

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

Don't need to use position here

Suggested change
min-width: 1024px;
position: relative;
width: 100%;

src/style.css Outdated
Comment on lines 22 to 24
font-family: Roboto, sans-serif;
margin-right: 0;
}

Choose a reason for hiding this comment

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

Suggested change
font-family: Roboto, sans-serif;
margin-right: 0;
}
font-family: Roboto, sans-serif;
padding: 0 50px;
box-sizing: border-box;
}

}

.nav__link.is-active {
color: #00acdc;

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
margin-right: 0;
}

[data-qa='hover'].nav__link:hover {

Choose a reason for hiding this comment

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

Suggested change
[data-qa='hover'].nav__link:hover {
.nav__link:hover {

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

@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.

Hi, you need to fix all comments from the previous review, if you need some help feel free in the fe_chat
The header should stretch to the full width of the browser window
image

Copy link

@etojeDenys etojeDenys left a comment

Choose a reason for hiding this comment

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

please, don't hesitate to ask in the chat how to pass all tests or fix comments

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.

5 participants