Just from looking at the code, you made a set width on a lot of things. I made mine a set min/max width to get the responsivity that might help some with the issue of the image. I also would have used flex, or grid on the card container.
Design comparison
Solution retrospective
What are you most proud of, and what would you do differently next time?
making something with a mobile first approach
What challenges did you encounter, and how did you overcome them?
using srcset on an image to use multiple images depending on the screen size
What specific areas of your project would you like help with?
the photo seems to switch to the desktop layout when on mobile when resizing the screen even though it is under 1440p. If there is a way to prevent that from happening it would be appreciated if there is an alternative.
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