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

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

Develop #5812

wants to merge 6 commits into from

Conversation

in4ik1303
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! 😊 There are a few critical issues that need to be addressed before we can approve the pull request. The HTML structure is missing some required attributes, such as the href for the logo link and the data-qa="hover" attribute for the "LAPTOPS & COMPUTERS" link. Additionally, there are several typographical errors in the navigation menu that need correction. The CSS has some issues with unsupported properties and positioning that could affect the layout. Please address these points to ensure the functionality and requirements are fully met. Keep up the great effort, and I'm sure you'll have it ready in no time! 🚀

✨ 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
<a class="nav_a blue is-active">APPLE</a>
</li>
<li class="nav_li">
<a class="nav_a">SAMSNG</a>

Choose a reason for hiding this comment

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

There is a typographical error in the navigation item 'SAMSNG'. It should be 'SAMSUNG'.

src/index.html Outdated Show resolved Hide resolved
src/index.html Outdated Show resolved Hide resolved
src/index.html Outdated
<a class="nav_a">GADGETS</a>
</li>
<li class="nav_li">
<a class="nav_a">TALETS</a>

Choose a reason for hiding this comment

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

There is a typographical error in the navigation item 'TALETS'. It should be 'TABLETS'.

src/style.css Outdated
Comment on lines 20 to 23
width: 1200px;
margin: 0 auto;
min-width: 500px;
max-width: 960px;

Choose a reason for hiding this comment

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

There is an inconsistency in the width settings for the .header class. The width is set to 1200px, but the max-width is set to 960px. This could lead to unexpected layout behavior. Consider revising these values to ensure they align with your design intentions.

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 the previous issues! 🎉 Your HTML and CSS files have been significantly improved, and the code now meets the task requirements. Here are some points to consider for further refinement:

  • HTML: Ensure the href attribute for the logo link correctly points to the homepage URL, as index.html might not be the intended destination.
  • CSS: Avoid using !important unless necessary, as it can cause specificity issues. Also, check the .a::first-line selector to ensure it targets the correct element.
  • Typographical Errors: Ensure all navigation menu items are in the expected format, such as 'VIDEO', 'PHOTO', 'TABLETS', etc.

These improvements will enhance the functionality and maintainability of your code. Keep up the great work and continue learning from these experiences! 🚀

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

src/index.html Outdated
<h1>Moyo header</h1>
<header class="header">
<a
href="index.html"

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 index.html. Ensure this is correct, as typically the logo links to the homepage, which might be a different URL.

src/index.html Outdated
href="index.html"
class="nav_a is-active"
>
Apple

Choose a reason for hiding this comment

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

Typographical error: 'Apple' should be 'APPLE' to match the expected format.

src/index.html Outdated
href="index.html"
class="nav_a"
>
Samsung

Choose a reason for hiding this comment

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

Typographical error: 'Samsung' should be 'SAMSUNG' to match the expected format.

src/index.html Outdated
href="index.html"
class="nav_a"
>
Smartphones

Choose a reason for hiding this comment

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

Typographical error: 'Smartphones' should be 'SMARTPHONES' to match the expected format.

src/index.html Outdated
class="nav_a blue"
data-qa="hover"
>
Laptops & Computers

Choose a reason for hiding this comment

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

Typographical error: 'Laptops & Computers' should be 'LAPTOPS & COMPUTERS' to match the expected format.

src/index.html Outdated
href="index.html"
class="nav_a"
>
Tablets

Choose a reason for hiding this comment

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

Typographical error: 'Tablets' should be 'TABLETS' to match the expected format.

src/index.html Outdated
href="index.html"
class="nav_a"
>
Photo

Choose a reason for hiding this comment

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

Typographical error: 'Photo' should be 'PHOTO' to match the expected format.

src/index.html Outdated
href="index.html"
class="nav_a"
>
Video

Choose a reason for hiding this comment

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

Typographical error: 'Video' should be 'VIDEO' to match the expected format.

src/style.css Outdated
text-decoration: none !important;
}

.a::first-line {

Choose a reason for hiding this comment

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

The selector .a::first-line seems incorrect. Ensure that .a is a valid class in your HTML, or adjust the selector to target the correct element.

src/style.css Outdated

.blue:hover {
color: var(--for-link);
text-decoration: none !important;

Choose a reason for hiding this comment

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

Avoid using !important unless absolutely necessary, as it can cause specificity issues and make the CSS harder to maintain.

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