QuizNot attempted
Reading BEM
1–4 to choose, Enter to submit
Show answer & explanation
Correct answer:
- Block
product-card, elementtitle, modifierfeatured
- BEM reads Block
__element--modifier, soproduct-cardis the block,titlean element inside it,featureda variant. - Not block title: the block always comes first, before
__. - Not three classes: it is one flat class name, which is the point (single-class selectors keep specificity low).
- Not SMACSS state: SMACSS states look like
.is-active, not--modifier.