

Let's say we are in office, we have some free time and we’re interested in playing around with React, then you can use an online code playground like CodePen, CodeSandbox, or Glitch.įor example, let's say we want to create react project using CodePen. With this we have the react environment setup on our local machine and we are ready to explore React. How the index.html is linked to App.js will be discussed in our upcoming videos. We can see the changes and it happens very fast. Let's make a small change in the text, save it and let's have a look at the browser. The image and the text we see in the browser are coming from here. To understand the relation between the output we see and this index.html, Open src/app.js file. In index.html we have one div tag with id as root. The output we have seen when the Project is executed comes from a file called Index.html which resides inside the public folder. Install Visual Studio Codeĭownload and install Visual Studio Code from the following URLĪfter the installation, open the Project we have created earlier using the VS Code. So the next step is to install the Visual Studio Code. VS code’s IntelliSense allows Visual Studio Code to provide you with useful hints and auto-completion features while you code. It has integrated Git control & terminal. Visual Studio Code is a free IDE from Microsoft built for developing and debugging web applications. When we think of IDE, we have a variety of choices like Visual Studio Code, React IDE, Sublime Editor, Atom Editor, Webstorm and a few others. We have created a New Project using React and executed the Project.īut as a developer, we would be more interested to know about the Project which is created, its structure and we would like to play around with it. Launch the browser and visit We can then see our first React Application response in the browser.

Let's do CD to the Project we have created and run it locally on our system using npm start. Remember not to create the project with an upper case character In it.

Let's create a new Project now using the command. I will create this folder and let our command prompt point to it by using the change directory command. Let's say I want to create the project or application in D:\React_Programs. After create-react-app is installed, we can create our first react application.
