responsive social proof section, scss, bem, css flexbox & grid
Design comparison
Solution retrospective
Feedback is an important way for me to know how could I improve more, and it's very appreciated. Also, I wonder if my using of BEM methodology is right? thank you!
Community feedback
- @grace-snowPosted almost 3 years ago
The bem is nearly right on this, but there are lots of blocks missing. It’s like you’re starting classes as Block__Element most of the time, but the parent should be block alone
Also review__heading should not be h2s, that doesn’t make sense having 3 headings with no content underneath them
Marked as helpful0@BasemAmrPosted almost 3 years ago@grace-snow but isn't "main" element here considered as a parent "Block"EM and all contained elements within it will be considered as B"Elements"M ?
0@grace-snowPosted almost 3 years ago@BasemAmr I’ll give an example
// this is not right because there is no “block class” <div class="header__reviews"> <div class="review__box"> <div class="review__stars"> // instead it should be this <div class="review"> <div class="review__box"> <div class="review__stars">
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