Design comparison
Solution retrospective
This project is a really good practice for beginners. I learned using flexbox and responsive design. However, I am not for sure my css code is clean or not. Welcome feedbacks!
Community feedback
- @JimTK16Posted 12 months ago
Nicely done Eric.
I'm a beginner too, so take my words with a grain of salt :). I think in general we should avoid setting a fixed width for image or element. Instead, for the container you could set a max-width, and for the image you could set width: 100% so it take the full width of its parent.
Jim
Marked as helpful1 - @Call4juliusPosted 12 months ago
Nice code.
I think you are not relying on inheritance enough, hence, it makes you repeat yourself.
Also, why do you need TWO media queries?
0
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