Put in order · JavaScript and React course · Module 1: React Basics
Process: Application structure
Arrange the file hierarchy of a React application:
Items to put in order
- src/App.jsx (main application component)
- index.html (main HTML template in the root directory)
- src/main.jsx (application entry point)
- src/components/ (functional components)
- src/assets/ (styles, images, static files)
Show the answer
Correct order:
- index.html (main HTML template in the root directory)
- src/main.jsx (application entry point)
- src/App.jsx (main application component)
- src/components/ (functional components)
- src/assets/ (styles, images, static files)