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 Page with Flexbox

@CosmicGarou18

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


Please tell me how i could have improved the solution

Community feedback

Aimal Khan 2,260

@Aimal-125

Posted

Bro use media query with orientation: portrait; and use flex-direction: column; on the card component. As it's half side is invisible on my samsumg j3.

Marked as helpful

1

@0xabdulkhaliq

Posted

Hello there 👋. Congratulations on successfully completing the challenge! 🎉

  • I have other recommendations regarding your code that I believe will be of great interest to you.

BODY MEASUREMENTS 📐:

  • The width: 100% property for body is not necessary. because it's a block level element which will take the full width of the page by default.
  • So feel free to remove width: 100% style rule from body this will help you to write efficient code and makes your code more reusable.

.

I hope you find this helpful 😄 Above all, the solution you submitted is great !

Happy coding!

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