Design comparison
SolutionDesign
Community feedback
- @Lo-DeckPosted 4 months ago
Hi well done for this challenge.
If you want to set different images you can use
picture
<picture> <source media="(max-width: 799px)" srcset="your path" > <source media="(min-width: 800px)" srcset="your path" > <img src="your path" alt="your description" > </picture>
You should use
em
orrem
instead ofpx
..freecodecampHope to be helpful.
Marked as helpful1@Fikriwib12Posted 4 months ago@Lo-Deck wow, thanks for the advice, I just found out about the picture tag in HTML
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