Design comparison
Solution retrospective
This project increased my comfort with using flexbox, and more generally using inheritance to lay out and space components. I'm happy with this project although I found some aspects of the sizing quite puzzling (the final version doesn't fit onto a single page in my browser, but based on the font the sizing looks correct...). I also liked the aesthetics of this design, and will definitely take some of those ideas forward into my own projects (especially the coloured band on top of the cards).
What challenges did you encounter, and how did you overcome them?I started with a multiple nested flexbox solution for the dynamic layout that was way too complicated. In the end, removing some of those divs helped make my layout work as intended! I still ran into this issue even though I used a mobile-first approach. The lesson I've learned is to build complex layouts one step at a time: you might find that the job is done a few steps earlier than you originally thought.
What specific areas of your project would you like help with?I tried hard to get the shadow effect on the cards looking correct, but I still have no idea what was actually used in the design! Any pointers here would be appreciated.
Join 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