Design comparison
Solution retrospective
For this project, I used CSS Grid to create a 3-column card layout. By setting the display property to grid on the .card-container class, I was able to define the number of columns and rows with grid-template. The end result is a responsive and visually appealing layout that works well on a variety of screen sizes.
Although I didn't use Flexbox in this project, I found that CSS Grid was the perfect solution for creating a card layout. The grid system allowed me to easily position the cards in the correct columns and rows without having to worry about the complexities of Flexbox. I had a great time working on this project and I hope you enjoy checking out my solution!
If you have any questions or feedback, feel free to reach out to me. Happy coding!
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