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 solution (header) #5393

Closed
wants to merge 2 commits into from
Closed

add solution (header) #5393

wants to merge 2 commits into from

Conversation

MaxOnRem
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 the Pull Request! 🌟 While there are some minor issues like ensuring proper fallback fonts, avoiding the universal selector for performance, using descriptive class names, and maintaining consistent indentation, none of these are critical blockers. Keep these tips in mind to enhance your code quality for future tasks. Keep up the good work! 👍

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

src/index.html Outdated Show resolved Hide resolved
src/index.html Show resolved Hide resolved
src/index.html Outdated Show resolved Hide resolved
src/index.html Outdated Show resolved Hide resolved
src/index.html Outdated Show resolved Hide resolved
src/index.html Outdated
Comment on lines 40 to 104
<li class="list-item">
<a
href="#"
class="item-link is-active"
>
apple
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
>
Samsung
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
>
smartphones
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
data-qa="hover"
>
laptops &amp; computers
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
>
gadgets
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
>
tablets
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
>
photo
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
>
video
</a>
</li>

Choose a reason for hiding this comment

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

Indentation should be consistent throughout the file. Each level of nesting requires a 2-space offset. Make sure all child elements are indented relative to their parent elements.

src/index.html Outdated
Comment on lines 29 to 106
<a
href="#"
class="logo-link"
>
<img
src="./images/logo.png"
alt="MOYO"
/>
</a>
<nav>
<ul class="menu-list">
<li class="list-item">
<a
href="#"
class="item-link is-active"
>
apple
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
>
Samsung
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
>
smartphones
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
data-qa="hover"
>
laptops &amp; computers
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
>
gadgets
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
>
tablets
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
>
photo
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
>
video
</a>
</li>
</ul>
</nav>

Choose a reason for hiding this comment

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

Class names should represent the meaning of the content, not the styles or tag names. For example, 'logo-link' is good, but 'item-link' could be more descriptive, like 'nav-link'.

src/index.html Outdated
Comment on lines 29 to 106
<a
href="#"
class="logo-link"
>
<img
src="./images/logo.png"
alt="MOYO"
/>
</a>
<nav>
<ul class="menu-list">
<li class="list-item">
<a
href="#"
class="item-link is-active"
>
apple
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
>
Samsung
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
>
smartphones
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
data-qa="hover"
>
laptops &amp; computers
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
>
gadgets
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
>
tablets
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
>
photo
</a>
</li>
<li class="list-item">
<a
href="#"
class="item-link"
>
video
</a>
</li>
</ul>
</nav>

Choose a reason for hiding this comment

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

Avoid using spaces in the href attribute of <a> tags. If these links are placeholders, consider using # without any additional spaces or characters.

src/style.css Outdated Show resolved Hide resolved
src/style.css Outdated Show resolved Hide resolved
Copy link

@anastasiiavorobiova anastasiiavorobiova left a comment

Choose a reason for hiding this comment

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

Great work!

@MaxOnRem MaxOnRem closed this Sep 20, 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.

3 participants