Design comparison
Solution retrospective
To be able to use a flexible grid for the layout on mobile with a grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
and adapt its layout using a grid-template-areas with a media query. Use the :nth-child()
pseudo-class to make the order of the cards count for the layout.
Make the project quickly editable. I tried to make the css classes flexible, so that I could change the appearance of the cards quickly and not rely on the css classes to organize their distribution, but on their order in the HTML structure.
What specific areas of your project would you like help with?A better understanding of the BEM methodology and a better structure of the CSS.
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