Understanding The Code:

When we create react application, some of the files are automatically created. Let's explore some of them one by one:

Package.json:

It includes the metadata of the entire application and all the installed dependencies information.

index.html:

It's the only html file in the entire React application and all the new html will be written via JSX.

index.js:

It's the js file in which we manipulate index.html and render JSX/html through render function.

App.js:

It's the component in which html/JSX is defined and this component is importing under index.js. Similiar to this we will build more components to implement application functionalities.