Design comparison
Community feedback
- @AsongafacPosted over 1 year ago
just do as indicated above by @amar215
otherwise, you can use the img tag that is: <img src = " " alt = " " >
Marked as helpful0@Krishna4563Posted over 1 year ago@Asongafac thank you for your input , now it is working
0 - @amar215Posted over 1 year ago
Hello Krishna,
You forgot to add the images in your challenge.
do use
picture
tag of HTML.<picture> <source media="(max-width: 768px)" srcset="small-image.jpg"> <source media="(min-width: 769px)" srcset="large-image.jpg"> <img src="fallback-image.jpg" alt="Example image"> </picture>
this was you can show 2 images whenever size changes. this makes your project mobile friendly.
Marked as helpful0@Krishna4563Posted over 1 year ago@amar215 thank you for the input , the error was in github repo ,now it is working
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