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

Stas Preview Challenge using Flexbox and BEM

@LaxmanJonchhen12

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


Hello, the community can you review my challenge solution and give me some feedback for improvement.

Community feedback

Amon 2,560

@A-amon

Posted

Hey, nice work there! Instead of using margin-top for centering .card__text content vertically, you can use flexbox and set flex-direction to column then justify-content to center! As for font size, it seems a little too big for your flexbox and overflows on mobile.

Marked as helpful

0

@LaxmanJonchhen12

Posted

@A-amon thanks for the suggestion will change the suggestions on my code.

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