Components

Think in components. Consider each piece of your UI as an individual "component".

Naming components

Components will be named with at least two words, separated by a dash. Examples of components:

  • A like button (.like-button)
  • A search form (.search-form)
  • A news article card (.article-card)

How do you write a component exactly? Let's learn about Elements. Continue →