Conversation
mateacademy-ai-mentor
left a comment
There was a problem hiding this comment.
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:
- 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] - Incorrect Header Height: The vertical padding on the
.containerclass makes the header taller than the required 64px. The height should be determined solely by the navigation links. - Underline Position: The active link's underline is positioned outside the header because of a negative
bottomvalue. It should be inside the header area to match the design. - 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
mateacademy-ai-mentor
left a comment
There was a problem hiding this comment.
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
…t paths and indentation
… background-color
…dth/height order, font properties order
…ference baseline only
…y (Header/Nav: 35%, Link: 20%)
Uh oh!
There was an error while loading. Please reload this page.