Product Preview Card

Solution retrospective
I am proud at how I efficiently tackled this challenge.
I had to do some reading about responsive images and providing multiple image sources, but it went smoothly. I was also pleased that I was accurate in my prediction of how long this would take me.
What challenges did you encounter, and how did you overcome them?Finding the best way to render the multiple image sources. I was having a few issues with the browser selecting the unintended image due to the relative image sizes of the mobile and desktop images, but using picture and source elements instead of an img element to target the break point resolved this.
What specific areas of your project would you like help with?-
I would like help around best practices for handling images and how to manipulate them in the layout. This is generally something I don't feel as comfortable in.
-
Refactoring code
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Scott Martin's solution.
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