Design comparison
SolutionDesign
Solution retrospective
Hello Frontend Mentor Community!
Here is my solution to the Intro Section with Dropdown Navigation Challenge.
If there are any ways to improve my approach, please let me know.
Appreciate any feedbacks.
Community feedback
- @sulemaan7070Posted almost 2 years ago
hey Trung Lam😄, congratulations on completing the challenge... here are a few tips to make your site better.
1.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📚
2.Add the functionality to close the
mobile-menu
even when the overlay is clicked by the user..happy coding🔥🔥
Marked as helpful1
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