Design comparison
SolutionDesign
Solution retrospective
This is my first attempt at FEM challenge. I tried to make code as clean as possible and use rem rather than px. I appreciate any suggestions to optimize the project. Thanks!
Community feedback
- @WandolePosted almost 2 years ago
Hey!
This solution is good.
The only advice I could give you for next projects, mainly for bigger ones: when you use BEM, try to avoid 'nesting' on your classes name.
For example:
- 'card__content__title' should be 'card__title' in my opinon.
- same for 'card__content__description' => 'card__description'
If you really need nesting, it means that you need to create a new component!
It's just a detail that will make bigger project more readable.
I hope it helps!
0@Martina928Posted almost 2 years ago@Wandole Thank you for the advice. I'll correct them soon and be careful next time!
0
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