Design comparison
Solution retrospective
I would probably use the Figma file next time since it's a bit hard to guess what the exact spacings and sizes are, but I think it came out alright considering not having the Figma file available.
What challenges did you encounter, and how did you overcome them?I learnt something new when it comes to the tag. I've always used
tags and disabled/enabled them by using media
querries. However using picture and multiple sources based on screen width is a much easier and more readable way of doing things.
Community feedback
- @zarakPosted 20 days ago
This looks great! You used the
picture
tag for semantic HTML. It is very responsive and works on a variety of screen sizes. Nice use of flexbox to ensure the spacing/layout stays responsive. The use ofsrcset
for changing images based on screen width is quite neat!Not much else to say really. Great work!
Marked as helpful1
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