Skip to content

QuizNot attempted

Reading BEM

In BEM, what is product-card__title--featured?
1–4 to choose, Enter to submit
Show answer & explanation

Correct answer:

  • Block product-card, element title, modifier featured
  • BEM reads Block __element --modifier, so product-card is the block, title an element inside it, featured a 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.