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

Moyo-Header(add task solution) #4911

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

Conversation

gorbachovam00
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
You need to show a blue color for text for all these links when hoverign
image

src/index.html Outdated
Comment on lines 33 to 34
<div class="container">
<div class="header__container">

Choose a reason for hiding this comment

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

These divs are redundant, so you need to remove it

Suggested change
<div class="container">
<div class="header__container">

src/index.html Outdated
Comment on lines 41 to 43
<nav class="header__nav">
<ul class="header__menu">
<li class="menu-item">

Choose a reason for hiding this comment

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

Fix class everywhere

Suggested change
<nav class="header__nav">
<ul class="header__menu">
<li class="menu-item">
<nav class="nav">
<ul class="nav__list">
<li class="nav__item">

src/index.html Outdated
<li class="menu-item">
<a
href="#"
class="link link-1 is-active"

Choose a reason for hiding this comment

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

Fix class everywhere

Suggested change
class="link link-1 is-active"
class="nav__link is-active"

src/index.html Outdated
Comment on lines 50 to 51
</li>
<li class="menu-item">

Choose a reason for hiding this comment

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

Add a blank line between the links

Suggested change
</li>
<li class="menu-item">
</li>
<li class="menu-item">

src/index.html Outdated
Comment on lines 116 to 131
<!-- <!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
/>
<meta
http-equiv="X-UA-Compatible"
content="ie=edge"
/>
<title>Document</title>
</head>
<body></body>
</html> -->

Choose a reason for hiding this comment

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

Remove comments

Comment on lines +14 to +17
font-family: Roboto, sans-serif;
font-size: 12px;
font-weight: 500;
line-height: 1.2;

Choose a reason for hiding this comment

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

Move these styles to the html selector

src/style.css Outdated
Comment on lines 77 to 86
/* .container {
margin: 0 auto;
} */

/* .header__container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 50px;
}

Choose a reason for hiding this comment

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

Remove comments everywhere

src/style.css Outdated
display: block;
position: absolute;
content: '';
width: 37px;

Choose a reason for hiding this comment

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

Suggested change
width: 37px;
width: 100%;

src/style.css Outdated
height: 4px;
background-color: var(--color-header);
border-radius: 8px;
top: 56px;

Choose a reason for hiding this comment

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

Suggested change
top: 56px;
bottom: 0;

Copy link

@anastasiiavorobiova anastasiiavorobiova left a comment

Choose a reason for hiding this comment

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

Great work!

src/style.css Outdated
margin: 0;
}

ul li:not(:last-child) {

Choose a reason for hiding this comment

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

Suggested change
ul li:not(:last-child) {
.nav__item:not(:last-child) {

text-decoration: none;
color: var(--color-text);
text-transform: uppercase;
overflow-x: hidden;

Choose a reason for hiding this comment

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

Suggested change
overflow-x: hidden;

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.

3 participants