@Ikuewumi
Posted
Hi 👋. Nice solution. About your question on grid issues, here is my suggestion:
In this case, I don't think CSS Grid is the best tool for the job. Flex might be more suitable. This is because Grid shines most in extrinsic layouts(where you explicitly define where a particular element goes) and Flex is better at intrinsic layouts, where the browser just knows what to do. So in this case, the explicitness of Grid kind of gets in the way, whereas with flex the layout could be achieved in a much simpler way:
card {
display: flex;
flex-direction: column;
}
@media (min-width) {
.card {
flex-direction: row;
}
}
Anyways, I hope this helps. Feel free to ask any questions, and keep coding👍,
Ayobami
Marked as helpful