Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Stats preview card component using grid

LucaD 110

@LucaDoro

Desktop design screenshot for the Stats preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Feel free to give me some feedback!

Hey, So I started with the mobile version first and i knew it would be a problem after but how do i make the grid flip side when it goes from mobile to desktop since my images comes first in my HMTL. i tried experimenting with 'grid-column:' but it doesnt work.

Let me know what i can do.

Community feedback

Account Deleted

Hi, try adding order: 1 to the picture tag or -1 to the content.

Marked as helpful

1

LucaD 110

@LucaDoro

Posted

@at33v Well that worked beautifully, I just had to add order: -1 on my .product__content {}. I tried grid-column: 1 before but it didnt work. Thanks for your help!

0

Please log in to post a comment

Log in with GitHub
Discord logo

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