@MinhKhangTran
Posted
Hi Shamil Ussain C, nice solution!
If you want to use responsive images you can use picture
and source
with srcset tags in your html.
For example:
<picture>
<source media="(max-width: 1029px)" srcset="./images/image-header-mobile.jpg">
<source media="(min-width: 1030px)" srcset="./images/image-header-desktop.jpg">
<img src="./images/image-header-desktop.jpg" alt="image-header">
</picture>
I found a helpful article at mdn. If you are interested you can read there more.
I hope this helps. Keep going and have fun 🥰.
Marked as helpful
@shamilussainc
Posted
hey @MinhKhangTran , I have read the article and it found really useful. thank you for sharing it with me and thank you for your feedback.
happy learning 😊