Design comparison
Solution retrospective
This challenge extended my knowledge of flexbox. The initial mobile or small screen styling kept the flexbox of the four cards simple at
.container { display: flex; flex-direction: column; }
When working on the desktop version, the middle cards were placed within a wrapper to maintain the column flex direction with the container moving the flex-direction: row;
layout.
No major challenges for this solution as it was small with only four cards. If the layout was say the bento style or contained more cards, then it would be more of a challenge as I do not work with CCS grid often.
What specific areas of your project would you like help with?No particular areas at the moment, if a major refactor is required, it maybe in finding a solution to have the middle cards in the column format without the need for a separate 'wrapper' around them.
Community feedback
- @Saritha-SasiPosted about 1 month ago
I've just completed a front-end coding challenge from @frontendmentor! 🎉 Any suggestions on how I can improve are welcome!
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