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

Closed
wants to merge 5 commits into from
Closed

Develop #4533

wants to merge 5 commits into from

Conversation

MykolaDotsenko
Copy link

@MykolaDotsenko MykolaDotsenko commented Feb 7, 2024

  • 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 ❗️

src/index.html Outdated
</a>
<nav class="header__nav">
<ul class="header__list">
<li class="nav__item"><a href="#" class="nav__link is-active">Apple</a></li>
Copy link

Choose a reason for hiding this comment

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

Make links more meaningful.

Examples: #apple, #samsung, etc.

src/style.css Outdated
white-space: nowrap;
text-decoration: none;
text-transform: uppercase;
color: #000;
Copy link

Choose a reason for hiding this comment

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

Move all repeatable colors to the CSS variables.

More info

@MykolaDotsenko MykolaDotsenko requested a review from OleziO February 7, 2024 08:11
Copy link

@OleziO OleziO left a comment

Choose a reason for hiding this comment

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

image
Fix styles

</a>
<nav class="header__nav">
<ul class="header__list">
<li class="nav__item"><a href="#apple" class="nav__link is-active">Apple</a></li>
Copy link

Choose a reason for hiding this comment

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

Suggested change
<li class="nav__item"><a href="#apple" class="nav__link is-active">Apple</a></li>
<li class="nav__item">
<a href="#apple" class="nav__link is-active">
Apple
</a>
</li>

Copy link

Choose a reason for hiding this comment

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

Not resolved

src/index.html Outdated Show resolved Hide resolved
Co-authored-by: Oleh Herasymchuk <[email protected]>
@MykolaDotsenko MykolaDotsenko requested a review from OleziO February 7, 2024 08:45
@MykolaDotsenko
Copy link
Author

в мене прюцюють стилі. де помилка?

@MykolaDotsenko
Copy link
Author

image Fix styles

ЯК????

</a>
<nav class="header__nav">
<ul class="header__list">
<li class="nav__item"><a href="#apple" class="nav__link is-active">Apple</a></li>
Copy link

Choose a reason for hiding this comment

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

Not resolved

@MykolaDotsenko MykolaDotsenko closed this by deleting the head repository Feb 7, 2024
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