WEEK 8
Making a React app by everything learnt till now.
A) HOW WE CAN OPEN A FILE WHICH IS ALREADY ON OUR GITHUB BY VS.CODE:
1- Open your browser and go to Git-hub website and sign in
2- Choose your file and go to Code( its a green button in top right side of your previous view of your Codes.
3-Copy your Codes’s Path.
4- In your computer be exactly in the right place to bring your files there. for example if you wanna have your files on Desktop, you can go to your Desktop.
5- Now open your terminal and type:
git clone and paste your file path
6- Now go to your file folder while you are in your terminal.
7- type this:
code .
8- Now your VS code is open and you wanna see your render by browser. to achieve that:
8–1: open your VS code’s terminal and type:
npm install
8–2 Now you have to run it
npm start
B) NOW YOU WANNA MAKE A NEW APP ON YOUR COMPUTER And VS code:
1- Choose when you wanna save your files and stay there
2- Open your terminal and type:
npx create-react-app (your app name)
3- Go inside your folder through your terminal after you typed link above:
cd (your app name)
4-
code .
5- Now, open your VS code’s terminal and type:
npm install
6- Then
npm start