CSS3
Exercise 9 / 15
CSS Architecture (BEM, SMACSS)
Hard
30 points
Create a CSS structure following the BEM (Block Element Modifier) methodology. Create a "card" block, a "card__title" element, and a "card--highlighted" modifier.
BEM (Block Element Modifier) is a CSS naming methodology. Block = independent component, Element = part of block (__element), Modifier = variation (--modifier). SMACSS organizes CSS into categories (Base, Layout, Module, State, Theme). This is essential for maintaining CSS at scale.
Well done! 🎉
Your answer is correct! You earned 30 points.
Not quite...
Try again! You can do it.
Your code
CSS3
Result