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

P
Andrei 130

@AxinitM

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


What are you most proud of, and what would you do differently next time?

This is the first time I've used media queries. Not everything worked out, but now I know where to go. I improved my knowledge of flexbox, inheritance and some other CSS features.

What challenges did you encounter, and how did you overcome them?

I've spent a lot of time learning and using media queries. It was helpful ;)

What specific areas of your project would you like help with?

Media queries (@media) - willing to take any advice on media queries. What to look out for, what to read, what to fix. Thanks in advance for any help with media queries!

Community feedback

DaniNewAcc 340

@DaniNewAcc

Posted

Regarding media queries, you need to start by styling the mobile design first and then use media queries for larger screen. On mobile devices, in this project, image needs to stay on top of the text so use on the container display: flex and flex-direction: column then when styling larger screen with @media (min-width: 'number of px for screen size') use flex-direction: row

Marked as helpful

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