Question · HTML and CSS course · Module 9: Modern CSS

BEM Validation in Stylelint

Which class name is valid under the BEM convention enforced by Stylelint?

Answer options

  • .Component
  • .componentElement
  • .component__element--modifier
  • .component_element

You can check the correct answer by solving this task in the CodeWorlds game.