
Four Card Feature Section with React, Tailwind CSS, and Rsbuild
Design comparison
Solution retrospective
For me, it was remarkable that I finished this challenge with the limited knowledge I had about Grid and Flex layouts. In theory, I thought I understood the concepts, but I spent a lot of time fighting the mistakes I made. Like: wrapping all my cards into a `` and trying to use that element to fill the grid layout, which - of course - does not work.
Next time I will spend more time on playing around with the concepts before jumping straight to the challenge.
What challenges did you encounter, and how did you overcome them?I had big troubles getting the distribution of the cards right. I finally implemented the partitioning (1, 2, 1) with JavaScript. I know there must be a solution with HTML and CSS only, but I have not found one yet.
What specific areas of your project would you like help with?Like I said above: I know there must be a solution for partitioning the cards for the grid layout columns with HTML and CSS only, but I have not found one yet. I will look at other solutions later to see how it could be done.
Community feedback
- @hitmorecodePosted 4 months ago
Nice well done. The problem that you have is that you've only used grid columns you also need to use grid rows that will make much easier to place the card as you like.
I hope you find this helpful. Keep it up 👌👍
Marked as helpful0
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