Responsive Product preview card with html and css using BEM

Solution retrospective
my first : -BEM convention naming -Mobile-first approach
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Zxjklp
Hi @Djamel1133,
Great job on the project! I’d love to share my feedback.
- Since your
<link>
includesfont-display: swap
, you don't need to repeat it in your CSS file. - Image elements do not have explicit
width
andheight
.
<img class="card__image" src="assets/images/image-product-desktop.jpg" alt="parfum image">
Marked as helpful - Since your
- @MizanSafin
I think very nice & perfect design I love it , But there is slight problem in typography like- font-weight of product name(perfume).
Join 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