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

The src folder in a React project

What is the main purpose of the src/ folder in a React project?

Answer options

  • It contains the main source files of the application: components, styles, and logic
  • It stores server configuration files
  • It contains only test files
  • It is used to store npm dependencies
Show the answer

Correct answer:

  • It contains the main source files of the application: components, styles, and logic