Design comparison
SolutionDesign
Community feedback
- @VCaramesPosted over 2 years ago
Congrats @ooluwatom on completing this challenge!
Card looks good!
For images, it's best practice to use the <picture> element, it eliminates the need for media queries and uses less code. Essentially it should look like this:
<picture> <source media="(max-width: )" srcset="Mobile IMG" /> <img src="Dekstop IMG" alt="" /> </picture>
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