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

Solution #5801

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

Solution #5801

wants to merge 2 commits into from

Conversation

Pamcik
Copy link

@Pamcik Pamcik commented Dec 10, 2024

No description provided.

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! 😊 While you've made great progress, there are a few critical issues that need to be addressed before we can approve the pull request:

  1. Unmatched HTML Tag: There's an unmatched closing </a> tag that needs correction to ensure proper HTML structure. This is important for the page to render correctly.

  2. Logo Link: The logo should be wrapped in a link (<a> tag), but currently, it is not. This affects the semantic structure and functionality.

  3. CSS Variable for Blue Color: The task requires using a CSS variable for the blue color, but the current CSS directly uses the color code #00ACDC. Implementing a variable will improve maintainability.

  4. Header Height: The CSS does not explicitly set a height for the nav links, which is a requirement.

  5. Use of * Selector: The use of the * selector is discouraged due to potential performance impacts. Consider revising this.

Please address these issues to meet the core requirements of the task. Once resolved, your solution will be in great shape! Keep up the good work, and don't hesitate to reach out if you need any help. 🌟

✨ 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
<div class="image">
<img src="./images/logo.png" alt="logo Moyo">
</div>
</a>

Choose a reason for hiding this comment

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

There is an unmatched closing </a> tag here. It seems to be misplaced as there is no corresponding opening <a> tag. Please remove or correct this to maintain proper HTML structure.

src/style.css Outdated
margin: 0;
display: flex;
padding: 0;
margin-right: -20px;

Choose a reason for hiding this comment

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

The margin-right: -20px; might cause layout issues by pulling the last item in the .nav-index list too far to the left. Consider adjusting this value to ensure proper alignment.

src/style.css Outdated
color: #00ACDC;
}

.is.active {

Choose a reason for hiding this comment

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

The selector .is.active seems incorrect. If you intend to target elements with both is and active classes, there should be no space between them. However, if you meant to target elements with both classes separately, use .is .active with a space.

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.

Review Summary

Great progress! 🎉 You've successfully resolved several key issues, including the unmatched closing </a> tag and correctly wrapping the logo in a link. The CSS now includes a variable for the blue color, and the header height is explicitly set, which is excellent. However, the use of the universal selector * is still present and should be revised to avoid potential performance impacts.

The decision to approve is made to help you move forward with your learning. Please review the comments to further improve your code. Addressing the use of the * selector is crucial for optimizing performance. 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 +26 to +33
<a
href="https://s3-alpha-sig.figma.com/img/833f/9aab/47d660efd384318772b6b8040db831aa?Expires=1734912000&Key-Pair-Id=APKAQ4GOSFWCVNEHN3O4&Signature=dswIrz-CM71mAanXGvKRXPjecjfgsdMxLMX42Ga2sG0CuUJJq4Jy5x5rODTPEzbqmmsgmlLLJss2~eQyfosxdUyGRzIGLeAOMJ13tFeyrIB5YiQQRtx~9LeDXPrYCLGvDa4mViqCuhj-IPGhPDrlsLYG7kCfSvZ9UHMBqlZ8WDyj4zCQ3o-5AuD5tBRIqrPEmgqFO161Qu7yXjPjXvFbJM8Iu-4jf45HZy5io3OmyRZdOyfPL~Z0GkyPChoNWJax7ioZ9o6xNZu271LRecCkmoaeEBlFF~8dRZSJqXl0E9A4w2v6wXO6E8vkZioe9b8bl0wiOHVJQEDxCqzP5H9YYA__"
>
<img
src="./images/logo.png"
alt="logo Moyo"
/>
</a>

Choose a reason for hiding this comment

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

The logo is now correctly wrapped in a link (<a> tag), which addresses the previous issue. Ensure that the link is styled appropriately in your CSS.

Comment on lines +5 to +9
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}

Choose a reason for hiding this comment

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

The use of the universal selector * is discouraged as it can lead to performance issues. Consider applying styles more selectively to improve performance.

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