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

add MoYo logo #5751

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add MoYo logo #5751

wants to merge 1 commit into from

Conversation

mmromanova
Copy link

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 implemented key features like semantic tags, CSS variables, and Flexbox effectively. While there are a few areas for improvement, such as ensuring semantic correctness in HTML structure and maintaining consistent CSS formatting, these are learning opportunities. Please review the comments to enhance your code, especially regarding accessibility and semantic structure. Keep up the good work and continue refining your skills!

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

>
<img
src="./images/logo.png"
alt="MOYO Logo"

Choose a reason for hiding this comment

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

Consider adding a more descriptive alt text for the logo image to improve accessibility. Instead of 'MOYO Logo', you could use something like 'MOYO Company Logo'.

<div id="apple">
<a
href="#apple"
class="menu-item is-active"

Choose a reason for hiding this comment

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

The 'is-active' class is used here, which suggests that this menu item is currently active. Ensure that this class is dynamically managed if the active state changes based on user interaction or page context.

<a
href="#laptops"
class="menu-item"
data-qa="hover"

Choose a reason for hiding this comment

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

The 'data-qa' attribute is used here, which is typically for testing purposes. Ensure this attribute is necessary for your project requirements, and consider removing it if not needed.

body {
margin: 0;
padding: 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.

Ensure that the font 'Roboto' is loaded correctly in your HTML file. If it's not loading, verify the link to Google Fonts in your HTML file.

position: relative;
text-align: center;
text-decoration: none;
color: #000;

Choose a reason for hiding this comment

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

The color for the '.menu-item' is set to black (#000). Consider checking the contrast ratio to ensure it meets accessibility standards, especially if the background color is dark.

}

.menu-item.is-active {
color: var(--blue-color);

Choose a reason for hiding this comment

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

The '.menu-item.is-active' class changes the color to the variable '--blue-color'. Ensure this color provides sufficient contrast against the background for readability.

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