Product preview card component solution using Flexbox - second attempt
Design comparison
Solution retrospective
Any feedback is appreciated! Thank you!
L.E: I tried to take in consideration the advice given to me and I made some adjustments to the original solution I posted.
Thanks! :)
Community feedback
- @AdrianoEscarabotePosted about 2 years ago
Hi iulias17, how are you?
Welcome to the front-end mentor community!
I really liked the result of your project, but I have some tips that I think you will enjoy:
- every Html document must contain the main tag, so we can identify the main content, to fix this, wrap all the content with the main tag. HTML5 landmark elements are used to improve navigation experience on your site for users of assistive technology.
The rest is great!
I hope it helps... π
Marked as helpful0 - @VCaramesPosted about 2 years ago
Hey there! π Here are some suggestions to help improve your code:
-
To better identify the main content of you site you will want to encase your entire component inside a Main Element.
-
Increase π the
width
of the component to better match the FEM example. -
Delete ".box1". You already have a container for your images, the Picture Element.
-
The Alt Tag Description for the image needs to be improved upon. You want to describe what the image is; they need to be readable. Assume youβre describing the image to someone.
-
Increase π the
padding
of ".box2". -
The only heading in this challenge is the name of the perfume, βGabrielle Essence Eau De Parfumβ . The rest of the text should be wrapped in a Paragraph Element.
-
The old price π· is not being announced properly to screen readers. You want to wrap it in a Del Element and include a sr-only text explaining that this is the old price.
If you have any questions or need further clarification, let me know.
Happy Coding! π»π
Marked as helpful0 -
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