Design comparison
SolutionDesign
Solution retrospective
Hello Everyone, I'm Looking forward to your feedback and advice on how I can make my code better.
Community feedback
- @WuczekPosted almost 2 years ago
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 helpful0@basitkoraiPosted almost 2 years ago@Wuczek I really appreciate your feedback brother.
1
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