Submitted about 2 years ago
Product preview card challenge
@BenjaminNicholasWells
Design comparison
SolutionDesign
Solution retrospective
Approached this mobile first: happy with the code for mobile design (although Chrome seems to cache only the biggest loaded image available from the html srcset and overrides that img tag with whatever is cached at the time) but coding the queries for the desktop design looks a little flimsy and not something I think would scale particularly well. Did I set myself up poorly with the mobile design or is there a simpler solution for the desktop queries that I've overlooked?
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