
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
Nothing, I guess. For the next time, I want to try mobile-first workflow.
What challenges did you encounter, and how did you overcome them?- Clarity of my code
I try to improve my code's clarity base on the latest feedback at previous project. I re-read the BEM Methodology Documentations.
- Define the aspect-ratio
This is only a minor challenge and you can see the detail on my github.
What specific areas of your project would you like help with?Community feedback
- @Jewalikar-NitinPosted 7 days ago
- Your design looking very good and same.
- In above POC, since the image is main part of content, it must be in a content not in a background.
- To change the image in responsive web you can use
<picture>
tag withsrcset
to change the image directly.(below example)
<picture> <source srcset="images/image-product-mobile.jpg" media="(max-width: 40rem)"> <img src="images/image-product-desktop.jpg" alt="product image"> </picture>
Marked as helpful0
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