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

Card component - using grid, scss and BEM

@gabysantosw

Desktop design screenshot for the Single price grid component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


I know this is a simple component, but any feedback / tips on proper BEM use is welcome. Would creating more components like a 'heading', 'subheading', 'pricing', etc (like I did with the button) have been better? Just thinking if this implementation would have been good enough in a bigger/multi-page website?

Community feedback

P
Matt Studdert 13,611

@mattstuddert

Posted

Hey Gaby, great work on this challenge! Your BEM implementation looks good! On a larger project, if there were visually similar elements for the subheading, etc then you could definitely start a new block. So you'd probably change some classes, as you mentioned. But this is looking great.

Keep it up! 👍

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