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

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from
Draft

Develop #6095

wants to merge 11 commits into from

Conversation

disiol
Copy link

@disiol disiol commented Feb 5, 2025

Checklist

❗️ Replace <your_account> with your GitHub username and copy the links to the Pull Request description:

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

  • 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 ❗️

denisimus added 9 commits February 5, 2025 01:30
Mace correct position .header__logo
…ся, тоді елементи меню пісвідцются коли на них наводиш мишкою, али вимикаю він проходить data-qa="hover"
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 few critical issues that need to be addressed before we can approve the pull request.

  1. CSS Selector Usage: The use of the universal selector * in your CSS impacts performance and goes against the checklist requirements. It's important to apply styles only to specific elements that need them.

  2. HTML Formatting: Ensure that all lines in your HTML file do not exceed 80 characters to maintain readability and adhere to formatting guidelines.

  3. Image alt Attribute: The alt attribute for the logo image should be more descriptive to improve accessibility. Consider using something like 'Company Logo' or the actual company name.

  4. CSS Fallback Fonts: Include fallback fonts in your font-family property to ensure proper rendering if the primary font is unavailable.

  5. Logo Link href Attribute: The href attribute for the logo link is currently set to #, which doesn't provide meaningful navigation. Consider linking it to the homepage or a relevant section.

These changes are necessary to meet the core requirements and improve the functionality and accessibility of your code. Once these issues are resolved, we can move forward with approval. Keep up the great work! 😊

✨ 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 Show resolved Hide resolved
src/index.html Outdated Show resolved Hide resolved
src/index.html Show resolved Hide resolved
src/style.css Outdated Show resolved Hide resolved
src/style.css Show resolved Hide resolved
denisimus added 2 commits February 6, 2025 01:32
fix
    CSS Selector Usage: The use of the universal selector * in your CSS impacts performance and goes against the checklist requirements. It's important to apply styles only to specific elements that need them.

    HTML Formatting: Ensure that all lines in your HTML file do not exceed 80 characters to maintain readability and adhere to formatting guidelines.

    Image alt Attribute: The alt attribute for the logo image should be more descriptive to improve accessibility. Consider using something like 'Company Logo' or the actual company name.

    CSS Fallback Fonts: Include fallback fonts in your font-family property to ensure proper rendering if the primary font is unavailable.

    Logo Link href Attribute: The href attribute for the logo link is currently set to #, which doesn't provide meaningful navigation. Consider linking it to the homepage or a relevant section.
fix
    CSS Selector Usage: The use of the universal selector * in your CSS impacts performance and goes against the checklist requirements. It's important to apply styles only to specific elements that need them.

    HTML Formatting: Ensure that all lines in your HTML file do not exceed 80 characters to maintain readability and adhere to formatting guidelines.

    Image alt Attribute: The alt attribute for the logo image should be more descriptive to improve accessibility. Consider using something like 'Company Logo' or the actual company name.

    CSS Fallback Fonts: Include fallback fonts in your font-family property to ensure proper rendering if the primary font is unavailable.

    Logo Link href Attribute: The href attribute for the logo link is currently set to #, which doesn't provide meaningful navigation. Consider linking it to the homepage or a relevant section.
@disiol disiol marked this pull request as draft February 6, 2025 00:40
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 most of the previous feedback! 🎉 Your improvements, especially with the alt attribute for the logo image and the href attribute for the logo link, are commendable. However, there are still a few areas that need attention:

  1. CSS Selector Usage: The universal selector * is still being used, which can impact performance. It's better to apply styles directly to specific elements that require them.

  2. CSS Fallback Fonts: Ensure that the font-family property includes fallback fonts. This is crucial for proper rendering if the primary font is unavailable. For example, you can use font-family: 'Roboto', Arial, sans-serif;.

  3. HTML Formatting: Some lines in the HTML file exceed 80 characters, affecting readability. Consider breaking them into shorter lines.

These issues are important for the overall quality and performance of your code. Please review the comments and make the necessary improvements. Addressing these points will enhance your learning experience and help you avoid similar issues in the future. Keep up the good work and continue to refine your skills! 🚀

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

<h1>Moyo header</h1>
<header class="header">
<a
href="/"

Choose a reason for hiding this comment

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

The href attribute for the logo link is set to /, which may not provide meaningful navigation. Consider linking it to the homepage or a relevant section as per the previous review suggestion.

body {
margin: 0;
font-family: Roboto, sans-serif;

Choose a reason for hiding this comment

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

Consider adding fallback fonts to the font-family property to ensure proper rendering if 'Roboto' is unavailable. For example, you can use font-family: 'Roboto', Arial, sans-serif;.

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