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

create header #5810

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

create header #5810

wants to merge 3 commits into from

Conversation

OlehYavoriv
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

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

Thank you for your hard work on this project! 😊 There are a couple of critical issues that need to be addressed before we can approve the pull request. Specifically, there are typos in the href attributes that could lead to broken links:

  1. The href attribute value '#viideo' should be corrected to '#video' to properly reference the ID on the page.
  2. The href attribute value 'laptops&computers' is missing a '#' at the beginning. It should be '#laptops&computers' to correctly reference the ID on the page.

Once these are fixed, your code will meet the core requirements of the task. Keep up the great work, and feel free to reach out if you have any questions! 🚀

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

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

src/index.html Outdated
</li>
<li class="nav__item">
<a
href="laptops&computers"

Choose a reason for hiding this comment

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

The href attribute value 'laptops&computers' is missing a '#' at the beginning. It should be '#laptops&computers' to correctly reference an ID on the page.

src/index.html Outdated
</li>
<li class="nav__item">
<a
href="#viideo"

Choose a reason for hiding this comment

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

There is a typo in the href attribute value '#viideo'. It should be '#video' to correctly reference an ID on the page.

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.

Great job on addressing the previous issues with the href attributes in your HTML file! 🎉 The href for #video is now correct. However, please ensure that the href for #laptops&computers includes the # symbol at the beginning to ensure the link functions properly. Your CSS file is well-structured and uses CSS variables effectively, which is a good practice.

The code now meets the task requirements and constraints as specified. Remember to review the comments to improve your code further. Addressing these minor issues will help you avoid similar problems in the future. Keep up the good work and continue learning from these experiences! 🚀

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

Comment on lines +69 to +70
<a
href="#laptops&computers"

Choose a reason for hiding this comment

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

The href attribute value 'laptops&computers' is missing a '#' at the beginning. It should be '#laptops&computers' to correctly reference the ID on the page.

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