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

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

Develop #6175

wants to merge 2 commits into from

Conversation

Molszuu
Copy link

@Molszuu Molszuu commented Feb 26, 2025

❗️ Copy this Checklist to the Pull Request description after links, and put - [x] before each point after you checked it.

  • [x ] Header height is set in 1 place (for the links)
  • [x ] Content is vertically centered (for any header height)
  • [x ] CSS is used to show all letters in Uppercase (don't type them in HTML)
  • [x ] Logo is an image wrapped with a link
  • [ x] CSS Variable is used for a blue color
  • [ x] Pseudo-element is used for a blue line below the active link
  • [ x] Code follows all the Code Style Rules ❗️
  • [x ] The Google Fonts Configuration follows requirements.
    alt text

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 your submission! 🎉 Your code meets most of the task requirements, and you've done well in structuring your HTML and organizing your CSS. Here are some key points to consider for improvement:

  • Font Embedding: You've correctly used the Roboto font with the medium weight, which is great.
  • Semantic Tags: Good use of semantic tags like <header>, <nav>, <ul>, <li>, and <a>.
  • CSS Variables: Effective use of CSS variables for color management.
  • Pseudo-element for Active Link: Correct implementation using ::after.
  • Data Attribute: Proper use of data-qa="hover" for testing.
  • Link Indentation: Correct use of margin-left for indentation.
  • Header Width: Proper use of width: 100vw; to stretch the header.
  • Hover Effects: Correct implementation of link color change on hover.
  • Logo as a Link: Well-implemented logo link.
  • Header Height: Correctly set for navigation links.

However, there are a few areas to address:

  1. Uppercase Letters: Use text-transform: uppercase; in CSS instead of directly using uppercase letters in HTML.
  2. URL Encoding: The URL for "LAPTOPS & COMPUTERS" should be checked to ensure %26 is used correctly. If the intention is to use an ampersand, ensure the URL is formatted correctly.
  3. CSS Property: The align-content property in the .header class might not be necessary if it's not a flex container with multiple lines.

Your code is approved to help you move forward with your learning. Please review the comments to improve your code, and ensure that critical issues are addressed in future projects. Keep up the great work and continue to learn from these experiences! 🚀

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

<li class="link">
<a
data-qa="hover"
href="https://laptops%26computers.com"

Choose a reason for hiding this comment

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

The URL https://laptops%26computers.com seems to be incorrectly encoded. The %26 should be replaced with & if the intention is to use an ampersand in the URL. Ensure that the URL is correctly formatted and accessible.


.header {
padding: 0 50px;
align-content: center;

Choose a reason for hiding this comment

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

The align-content property is used for flex containers with multiple lines. Since the .header class does not seem to be a flex container with multiple lines, this property might not have any effect. Consider removing it if it's not needed.

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