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

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

Develop #4904

wants to merge 4 commits into from

Conversation

OleksiiKnihin
Copy link

  • DEMO LINK

  • TEST REPORT LINK

  • Header height is set in 1 place (for the links)

  • Content is vertically centered (for any header height)

  • CSS is used to show all letters in Uppercase (don't type them in HTML)

  • Logo is an image wrapped with a link

  • CSS Variable is used for a blue color

  • Pseudo-element is used for a blue line below the active link

  • Code follows all the Code Style Rules ❗️

Copy link

@roman-mirzoian roman-mirzoian left a comment

Choose a reason for hiding this comment

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

Nice job, but needs a bit of work.

src/style.css Outdated
@@ -1,3 +1,68 @@
/* CSS variables */

Choose a reason for hiding this comment

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

Suggested change
/* CSS variables */

}

.navigation-list {
display: flex;
margin: 0;

Choose a reason for hiding this comment

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

Don't duplicate code.

Copy link
Author

Choose a reason for hiding this comment

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

I didn’t understand what this was about. If I remove this margin, then show the standard from the browser from ul. No matter how I tried it, I can’t do without it))
Other comments have been corrected!

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

Choose a reason for hiding this comment

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

Excess wrapping. you can set styles for the header.

src/style.css Outdated
Comment on lines 21 to 22
max-width: 1200px;
min-width: 780px;

Choose a reason for hiding this comment

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

Not hardcoded or using static dimensions.
It is better to set more flexible sizes, for example (max-width: 100%)

Copy link

@roman-mirzoian roman-mirzoian left a comment

Choose a reason for hiding this comment

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

Well done the code looks good, but you forgot to update the deploy demo.
The current demo does not match your code.
https://gyazo.com/c5ff805d1c5c86c7d1fa854e724d19d5

@OleksiiKnihin
Copy link
Author

ОК. Good point! I didn't know about it.
Update deploy and in addition - delete padding from links.

Copy link

@roman-mirzoian roman-mirzoian left a comment

Choose a reason for hiding this comment

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

Well done!

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.

2 participants