Submitted almost 3 years ago
Stats preview card component built with SASS, BEM and Flexbox
@Madmanden
Design comparison
SolutionDesign
Community feedback
- @mattstuddertPosted almost 3 years ago
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 asection
element as a child of themain
element to wrap the whole card component for this layout. I'd then usediv
elements for the smaller content divisions.I hope that helps. Let me know if you have any questions! 🙂
Marked as helpful0
Please log in to post a comment
Log in with GitHubJoin 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