Design comparison
Solution retrospective
I'd like feedback. Whatever you want 😉
Community feedback
- @MojtabaMosaviPosted about 3 years ago
1- Since you using BEM, BEM helps us to divide a UI in section/components that can by meaningful on their own but the hard part is figure out when a piece of functionality or a segment of a UI that can be meaningful by it's own with a few elements and modifiers as possible.
Anagously like when you coock a meal but you ingredients are Blocks, Elements and Modifiers, use to much of one, you food is gonna be teaste blocky :). In your markup marking the daniel-testimonial an element is unnecessary because it's capable of being meaningful on its own.
<div class="testimony"> <div class="testimony__profile> </div> <h3 class="testimony__heading"></h3> <p class="testimoy__text"></p> </div>
Keep coding :=)
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