Skip to content

Develop#7510

Open
ann-perepelitsa wants to merge 39 commits intomate-academy:masterfrom
ann-perepelitsa:develop
Open

Develop#7510
ann-perepelitsa wants to merge 39 commits intomate-academy:masterfrom
ann-perepelitsa:develop

Conversation

@ann-perepelitsa
Copy link

@ann-perepelitsa ann-perepelitsa commented Feb 7, 2026

  • 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 ❗️](https://github.com/ann-perepelitsa/layout_moyo-- header/blob/master/checklist.md)
  • The Google Fonts Configuration follows requirements.

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.

Review Summary

Great start on this task! The HTML structure is well-organized and you've correctly used flexbox for the header layout. However, some changes are needed to meet the project's code style and design requirements. Here are the key issues to address:

  1. Forbidden Selectors: Your CSS uses the universal selector (*) and several tag selectors (nav, nav ul, etc.), which are not allowed by the project rules. Please refactor your styles to use only class-based selectors. [CHECKLIST ITEM #7]
  2. Incorrect Header Height: The vertical padding on the .container class makes the header taller than the required 64px. The height should be determined solely by the navigation links.
  3. Underline Position: The active link's underline is positioned outside the header because of a negative bottom value. It should be inside the header area to match the design.
  4. HTML Formatting: In index.html, elements with more than two attributes should have each attribute on a new line to improve readability, as per the style guide. [CHECKLIST ITEM #7]

Please fix these issues, and I'll be happy to review your work again!


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

Important

Fix the issues, commit the changes, and then re-request my review using the Re-request review button2 in the Reviewers tab.

Tip

If you have any comments about this review, please leave a message in the Add a comment section below and mention me with the @mateacademy-ai-mentor tag3.
I will read your message during my next review of your pull request. Please do not reply directly to my comments, as that feature is not supported yet.

Caution

Do not close the pull request until the review is complete. Closing it early can lead to unexpected behavior and disrupt the review process.

Footnotes

  1. Rate AI review example

  2. Re-request AI review example

  3. Add AI review comments example

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.

Sorry, the pull request review was unsuccessful for the following reasons:

Warning

No changes were made in the pull request since the last review. Please make sure that you have added files to the pull request and committed the changes.
[CODE: NCM]

If the issue is within your control, please address it.
The next review attempt will automatically launch in about 1 hour.
If you believe this is an error or need assistance, please contact the support team.

- Split attributes onto separate lines for elements with >2 attributes
- Split attributes onto separate lines for elements with long values
- Apply 2-space indentation for multi-line attributes
- Follows checklist item mate-academy#7 (Code Style Rules)
- Google Fonts URL split with href= on one line for readability
- Maintains 80-character line limit for all non-URL content
- Follows code style guidelines for formatting attributes
- Removed * { box-sizing: border-box; } rule
- Moved box-sizing property to body selector
- Elements now inherit box-sizing through the cascade
- Follows project requirements against using universal selector
- Changed padding from 12px 20px to 0 20px
- Removes conflicting vertical padding that was making header 88px
- Header height now correctly set to 64px via nav link height
- Maintains horizontal padding for left/right spacing
- Converted nav, nav ul, nav li, nav a to .nav, .nav__list, .nav__item, .nav__link
- Added semantic BEM class names to HTML elements
- Removed tag name selectors per code style guidelines
- Updated media queries to use class selectors
- Maintains all existing functionality and styling
- Changed bottom from -10px to 10px
- Underline now positioned inside the header instead of below it
- Matches Figma design specification
- Only expand links with 3+ attributes (add data-qa="hover")
- Keep links with 2 attributes (href, class) on single lines
- Adheres to code style guideline: >2 attributes require multi-line format
- Maintains prettier configuration with singleAttributePerLine setting
- Prettier expands all attributes to separate lines (stricter than code style)
- This satisfies the '>2 attributes require multi-line' guideline
- Consistent formatting enforced by prettier config
Copy link
Author

@ann-perepelitsa ann-perepelitsa left a comment

Choose a reason for hiding this comment

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

submit

Copy link
Author

@ann-perepelitsa ann-perepelitsa left a comment

Choose a reason for hiding this comment

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

submit

Copy link

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

3 participants