Asongafac• 110
@Asongafac
Posted
just do as indicated above by @amar215
otherwise, you can use the img tag that is: <img src = " " alt = " " >
Marked as helpful
0
@Asongafac
Posted
just do as indicated above by @amar215
otherwise, you can use the img tag that is: <img src = " " alt = " " >
Marked as helpful
@amar215
Posted
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 helpful
@amar215 thank you for the input , the error was in github repo ,now it is working
@amar215
Posted
@Krishna4563 Great! Happy Coding.
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