
Solution retrospective
I understand that I could have given the card a fixed width, but I prefer to let elements retain their natural size and allow the content inside these sections to define the overall dimensions. Typically, these types of sections are not used in isolation, as shown in this example. Instead, they are often part of a larger layout, such as a grid with other sections or cards. For this reason, I chose to keep the card’s width dynamic.
What specific areas of your project would you like help with?I am always open to suggestions for improving my code, especially when it comes to my CSS and BEM structure.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Q-bert's solution.
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