Design comparison
Solution retrospective
Hello! I have completed this challenge mentioned over Frotendmentor.io Kindly take a look to my submission and give feedbacks accordingly. Thanks Enjoy Coding :)
Community feedback
- @sulemaan7070Posted almost 2 years ago
hey π, congratulations on completing your first challenge... here are a few tips to make your site better.
1.I see that you have used
.container
->height:100vh
...usingheight:100vh
π« is a bad practice and can cause problems on the mobile version, you can usemin-height:100vh
β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π
Hope that helps, happy codingπ₯π₯
Marked as helpful0
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