Design comparison
SolutionDesign
Solution retrospective
Hello! This is my solution for Product preview card component. I have achieved 100% in Lighthouse score for performance, best practices and SEO. 📊 Any tips are welcomed, especially how to achieve more than 95% for accessibility for "Add to cart" button. Thank you. 😊✌️
Community feedback
- @danielmrz-devPosted 11 months ago
Hello Alexandra!
Your project looks great!
I have a few tips that might help you improve it:
- Since the button is a clickable element, adding
cursor: pointer;
to it, is a good practice. - Make sure to use the correct
font-family
. You can check thestyle-guide
file for the recommendedcolors
andfont-family
for the project and import them from Google Fonts. - If you change the
background-color
to#F3EBE4
, it'll look even closer to the original design.
I hope it helps!
Other than those details, you did an excelent job!
Marked as helpful3 - Since the button is a clickable element, adding
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