React

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

React is a free and open-source front-end JavaScript library for building user interfaces based on

components. It is maintained by Meta and a community of individual developers and companies. React
can be used to develop single-page, mobile, or server-rendered applications with frameworks like
Next.js

For creating a react Project in the VS code:

1. Create a folder in your computer


2. Name the folder of your choice
3. Open the folder and write cmd in the search bar

Write code . in cmd

4. It will open the visual studio


5. Open the terminal

Write ( npm create react-app any your folder name) it will create a new folder
6. Write npm start for starting the project
Printing HELLO WORLD
Open the app.js file remove the code and write
import './App.css';

function App() {
return (
<div >
Hello world
</div>
);
}

export default App; this will import in the index.html

1. https://www.youtube.com/watch?v=kghwFYOJiNg
For creating a login form

2. https://www.youtube.com/watch?v=aKByHmd6unc

You might also like