Design comparison
SolutionDesign
Solution retrospective
This is my solution as a beginner ,Thank you in advance for your thoughts and remarks !
Community feedback
- @fernandolapazPosted over 1 year ago
Hi π, here some tips in case you want to take a look:
HTML π§±, ACCESSIBILITY β:
- The main content of every page (the card in this case) should be wrapped with the
<main>
tag.
- By using
background-image
there is no need to include the<img>
element (you left it empty). However, in this case we should use<img>
as it is a meaningful image and needs analt
text with a description.
- It would be better to capitalize 'Perfume' with CSS (using
text-transform: uppercase;
) and not in HTML, for accessibility reasons.
CSS π¨:
- It should not be necessary to define the height of the card, it should be determined by the content (and paddings, margins, etc).
- It might be good to get used to designing with the mobile first approach, which means designing for mobile first and then for desktop or any other device, as it is widely considered best practice.
I hope itβs useful, any questions don't hesitate π
Regards,
Marked as helpful0@DESELMAARPosted over 1 year ago@fernandolapaz nice , I will take these notes . Thank you a lot
0 - The main content of every page (the card in this case) should be wrapped with the
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