Kamil• 260
@Wuczek
Posted
Hello coder 😎 Firstly I have to say u did a really good job :) My only tip is that you didn't include image-desktop into your layout, what I think would be better is a source media inside a picture that changes src of image to another one above certain width:
<picture> <source media="(min-width:800px)" srcset="image-header-desktop.jpg"> <img src="image-header-mobile.jpg" alt="" style="width:auto;"> </picture>Here's more about <picture> tag :
https://www.w3schools.com/tags/tag_picture.asp
Marked as helpful
0
Basit Korai• 350
@basitkorai
Posted
@Wuczek I really appreciate your feedback brother.
1