Design comparison
Solution retrospective
I'm most proud of improving my responsive design skills using Flexbox. By applying techniques like max-width and flex: 1 1 0 instead of fixed widths, I gained a deeper understanding of creating flexible layouts. The experience from the blog-preview-card challenge also helped me work more efficiently this time.
What challenges did you encounter, and how did you overcome them?A significant challenge I encountered was getting the max-width property to work correctly on the component. Initially, I couldn't understand why the max-width wasn't being applied as expected. After investigating, I realized that the issue was related to the relationship between the main element and its content. To resolve this, I removed all default styles from the body and adjusted the main element to use w-screen, ensuring it took up the full viewport width. This allowed the child component to properly respond to the max-width property, enabling the desired responsive behavior across different screen sizes.
What specific areas of your project would you like help with?While I've made progress with responsive design using Flexbox and techniques like max-width and flex: 1 1 0, I'd appreciate guidance on more advanced responsive layout strategies. Additionally, I'm interested in learning best practices for troubleshooting layout issues, particularly when dealing with nested elements and their interactions with viewport dimensions. Any insights on combining CSS Grid with Flexbox for complex layouts would also be valuable.
Community feedback
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