Design comparison
Community feedback
- @sulemaan7070Posted almost 2 years ago
hey 😄Mustafa DEDE, congratulations on completing the challenge... here are a few tips to make your site better.
1.I see that you have applied only the
desktop-image
on both the desktop and the mobile versions.. you will find theimage-web3-mobile
in theimages
folder.. you can responsively change the image based on themedia-query
..2.Using the picture element for responsively switching between Images is considered as best practice
<picture> <source media="(min-width: 650px)" srcset="img_food.jpg"> <source media="(min-width: 465px)" srcset="img_car.jpg"> <img src="img_girl.jpg"> </picture>
more about picture element here📚
3.The images in the
.wrapper
divs are squeezed...using the propertyobject-fit :contain
will prevent the images from being squeezed or stretched..hope that helps, happy coding💯🔥👍🏻
Marked as helpful1@mustafadedePosted almost 2 years ago@sulemaan7070 Thanks for the feedback! I changed it. Btw I didn't know
<picture> <source>
thing. Thanks.1
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