Design comparison
SolutionDesign
Solution retrospective
What did you find difficult while building the project?
Media query and image(background) sizing was challenging part.
Do you have any questions about best practices?
Should I use background image or image tag. I used image tag, then I removed so which one is best practice?
Community feedback
- @devaramnyePosted about 1 year ago
As there are two images, for mobile and desktop - I would recommend you to use
<picture></picture>
in your HTML document.Here you can read about the The picture element
1@girldocodePosted about 1 year ago@devaramnye I have used only image and I styled it using media query. Thanks for commenting.
0
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