Question · JavaScript and React course · Module 1: React Basics

Components - the building blocks of applications

What are components in React?

Answer options

  • External libraries
  • CSS files
  • Reusable pieces of UI code
  • HTML elements
Show the answer

Correct answer:

  • Reusable pieces of UI code