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

firstTry #5849

Closed
wants to merge 3 commits into from
Closed

firstTry #5849

wants to merge 3 commits into from

Conversation

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


Thank you for your hard work on this project! 😊 While you've made a great start, there are a few critical issues that need to be addressed before we can approve the pull request:

  1. CSS Issues:

    • The ::after pseudo-element for the .is-active class is not implemented correctly. It should visually indicate the active link with a blue line, but this is not currently working as intended. Please ensure it is positioned correctly using properties like position, bottom, and left.
    • The .nav_linki class seems redundant and is not required by the task. Consider removing it to simplify your CSS.
  2. HTML Issues:

    • The href attributes for all navigation links are currently the same. If these links are meant to navigate to different sections or pages, please update the href attributes accordingly.
    • The alt attribute for the logo image should be more descriptive for accessibility purposes. Consider changing it to something like 'MOYO company logo'.
  3. General Requirements:

    • The header height and vertical centering of content need adjustments to meet the task requirements.
    • Ensure that CSS is used to display text in uppercase, rather than typing it in uppercase in the HTML.
    • Review the use of semantic tags to ensure full adherence to best practices.

These changes are necessary to meet the core requirements of the task. Once you've made these adjustments, please resubmit your pull request. Keep up the great work, and don't hesitate 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
Comment on lines 38 to 39
src="images/logo.png"
alt="MOYO"

Choose a reason for hiding this comment

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

The alt attribute for the logo image is set to 'MOYO'. While this is a good start, it's recommended to provide more descriptive text for accessibility purposes, such as 'MOYO company logo'.

src/index.html Outdated
Comment on lines 47 to 104
href="index.html"
class="nav_link is-active"
>
APPLE
</a>
</li>
<li class="nav_item">
<a
href="index.html"
class="nav_link"
>
SAMSUNG
</a>
</li>
<li class="nav_item">
<a
href="index.html"
class="nav_link"
>
SMARTPHONES
</a>
</li>
<li class="nav_item">
<a
href="index.html"
class="nav_link nav_linki"
data-qa="hover"
>
LAPTOPS & COMPUTERS
</a>
</li>
<li class="nav_item">
<a
href="index.html"
class="nav_link"
>
GADGETS
</a>
</li>
<li class="nav_item">
<a
href="index.html"
class="nav_link"
>
TABLETS
</a>
</li>
<li class="nav_item">
<a
href="index.html"
class="nav_link"
>
PHOTO
</a>
</li>
<li class="nav_item">
<a
href="index.html"

Choose a reason for hiding this comment

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

All navigation links have the same href attribute pointing to 'index.html'. This might be intentional for a single-page application, but if these are meant to navigate to different sections or pages, the href attributes should be updated accordingly.

src/style.css Outdated
Comment on lines 48 to 55
.is-active::after {
/* I don't now how I can do this */
content: '';
width: 100%;
height: 10px;
background-color: #00acdc;
border-radius: 30px;
text-decoration: underline;

Choose a reason for hiding this comment

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

The .is-active::after pseudo-element is intended to add a visual indicator for active links, but the implementation is incomplete. Consider positioning the pseudo-element correctly using properties like position, bottom, and left to ensure it appears as intended.

src/style.css Outdated
Comment on lines 62 to 64
.nav_linki {
color: #00acdc;
}

Choose a reason for hiding this comment

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

The .nav_linki class appears to be redundant since it only changes the color to #00acdc, which is already handled by the .nav_link:hover and .is-active classes. Consider removing this class to simplify the CSS.

@WhiteP8wder8 WhiteP8wder8 closed this by deleting the head repository Dec 21, 2024
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