Design comparison
Solution retrospective
I'd appreciate your feedback or tips for my subbmission or code soo muchโญโญ anything I need to know to improve my code huhu๐๐ปโโ๏ธ
Community feedback
- @MelvinAguilarPosted almost 2 years ago
Hello there ๐. Good job on completing the challenge !
I have some suggestions about your code that might interest you.
HTML ๐:
- Wrap the page's whole main content in the
<main>
tag.
- Avoid using uppercase text in your HTML because screen readers will read it letter by letter. You can use the
text-transform
property to transform the text to uppercase in CSS.
- The breakpoint
1440px
is too big to switch views, I'm using a computer and viewing the mobile view.
Alt text ๐ท:
- The
alt
attribute should not contain underscores or hyphens, it must be human readable and understandable.
- The
alt
attribute should not contain the words "image", "photo", or "picture", because the image tag already conveys that information.
-
Not all images should have alt text. The cart-icon is a decorative image, it does not add any information to the page. You should use an empty
alt
attribute instead of a descriptive one. You can read more about this here ๐.If you want to learn more about the
alt
attribute, you can read this article. ๐.
I hope you find it useful! ๐ Above all, the solution you submitted is great!
Happy coding!
Marked as helpful1@meantoesPosted almost 2 years ago@MelvinAguilar Hi! thank you so much for the feedbackโญ It is so much helpful and I'll definetly try to improve my code with it๐ฉ๐ปโ๐ป
1 - Wrap the page's whole main content in the
- @meantoesPosted almost 2 years ago
updated-- using the feedback from @MelvinAguilar ๐๐ปโโ๏ธ
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord