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 built with SASS, BEM and Flexbox

#bem#sass/scss

@Madmanden

Desktop design screenshot for the Stats preview card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

P
Matt Studdert 13,611

@mattstuddert

Posted

Hey Christian! Nice work on this challenge. Your solution looks great! I'd recommend reviewing how you use section elements. Sections are typically used to outline standalone groupings of content on a page. For example, an introductory section or a "How it works" section on a landing page. I'd expect a section element as a child of the main element to wrap the whole card component for this layout. I'd then use div elements for the smaller content divisions.

I hope that helps. Let me know if you have any questions! 🙂

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