Skip to content

add task solution#7728

Open
Kindacid wants to merge 5 commits intomate-academy:masterfrom
Kindacid:develop
Open

add task solution#7728
Kindacid wants to merge 5 commits intomate-academy:masterfrom
Kindacid:develop

Conversation

@Kindacid
Copy link
Copy Markdown

@Kindacid Kindacid commented Apr 8, 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 ❗️

  • The Google Fonts Configuration follows requirements.

Copy link
Copy Markdown

@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

This requires a few changes before it can be approved. You've made a good start on the header structure with flexbox, but there are several critical issues that cause the visual tests to fail and violate key project requirements.

Please focus on these areas:

  1. Header Height: The height is currently set on the <header>. It must be removed from there and applied to the navigation links (.nav-link) instead, as per [CHECKLIST ITEM #1].
  2. CSS Variable: The blue color #00acdc is hardcoded in several places. Please define it as a CSS variable in the :root and use that variable for the link color and underline [CHECKLIST ITEM #5].
  3. Active Link Underline: The underline for the active link is positioned incorrectly. To fix this, you need to add position: relative; to the .nav-link.is-active rule to create a positioning context for its ::after pseudo-element.
  4. Navigation Margins: The current margin rule adds unwanted space before the first link and after the last one. The spacing should only be between the items. A common way to achieve this is by applying a margin-left to all list items except the first one.

Fixing these points will align your solution with the requirements and should resolve the build failures. Keep up the good effort!


✨ 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

Comment thread src/style.css Outdated
Comment thread src/style.css Outdated
Comment thread src/style.css Outdated
Comment thread src/style.css Outdated
Comment thread src/style.css Outdated
Comment thread src/index.html
Comment thread src/index.html
Comment thread src/index.html
Comment thread src/index.html
Comment thread src/index.html
Copy link
Copy Markdown

@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 job implementing the CSS variables and fixing the active link's underline! However, some changes are needed because a few critical layout issues are causing the automated visual tests to fail.

Here’s what needs to be fixed:

  1. Incorrect Height Application: The height property on your .container element must be removed. The requirement is that the header's height should be controlled only by the height of the navigation links (.nav-link). [CHECKLIST ITEM #1]
  2. Broken Vertical Centering: The margin-bottom properties on the .logo and .nav elements are conflicting with align-items: center on the parent container. Please remove these margins to allow flexbox to correctly handle the vertical alignment. [CHECKLIST ITEM #2]

Fixing these two issues should resolve the visual discrepancies and allow the tests to pass. You're very close to completing this!


✨ 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

Comment thread src/index.html
Comment thread src/index.html
Comment thread src/index.html
Comment thread src/index.html
Comment thread src/style.css Outdated
Comment thread src/style.css Outdated
Comment thread src/style.css Outdated
Comment thread src/style.css Outdated
Copy link
Copy Markdown

@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 job fixing the header height and vertical alignment from the last review! The layout is much closer to the target. I am approving this submission to help you move forward, but there are a couple of key adjustments needed to make it pixel-perfect.

First, the active link's underline is positioned relative to the entire header. To fix this, its parent link (.nav-link) needs position: relative; so the underline is positioned correctly beneath the text.

Second, the horizontal spacing should be handled by the .container. Instead of adding margins to individual navigation items, which violates one of the requirements, apply horizontal padding directly to the .container (e.g., padding: 0 50px;).

You're very close to a perfect solution. Keep up the great work!


✨ 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

Comment thread src/index.html
Comment thread src/index.html
Comment thread src/index.html
Comment thread src/index.html
Comment thread src/style.css Outdated
Comment thread src/style.css
Copy link
Copy Markdown

@IanLuan IanLuan left a comment

Choose a reason for hiding this comment

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

Great job!

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