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 using html and css only

aulia 70

@powreze

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 everyone! 👋 This is my solution for Stats Preview Card.

Any feedbacks would be really appreciated. It helps me to improve or remove unnecessary code in my task.

Thank you 😁✌

Community feedback

@AkoToSiJeromeEh

Posted

Hi! Great Work Out There , I noticed that you're using flexbox on the ul element. In my experience, I would recommend using grid box with grid-template-columns: 3 1fr to better align it with the design reference also u can use vertical-align : middle on image instead d-block but either works the same as i notice. overall I hope this suggestion helps and works for you. thanks happy coding :)

ul {

display: grid;

grid-template-columns: repeat(3,1fr);

margin-top: 3rem;

list-style-type: none;

}

Marked as helpful

0

aulia 70

@powreze

Posted

Hi ! @AkoToSiJeromeEh Oh yeah, I've struggled with that too. I can't set the ul element to looks exactly like the design. I would love to try your recommendation. Anyway, Thank you for your feedback 🙏

1

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