Design comparison
SolutionDesign
Solution retrospective
Hi everyone, I am Carlos I Zunga. This is my take on the product preview challenge from frontend mentor. This is a simple card with HTML and CSS. The product has two views, mobile and desktop. The add to cart button should change colors when you hover over it. Most of the product card is working correctly; the only issue I had was the sizing of the button. In mobile form, the button is long and thin, unlike the design display, and in desktop form, the button looks like it has too much padding. If anyone has any advice on how to fix this issue, please let me know in the comments.
Community feedback
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