This is the code written from these YouTube tutorials I made for all of you!
(If you haven't installed npm
, you will need it. Do that by typing in brew install npm
.)
-
Navigate to your terminal and the directory where you want to make the app (ie.
cd Desktop
). -
Install create-react-app with
npm install -g create-react-app
. -
Create app with
create-react-app contact-form-react
. -
After it installs dependencies with Yarn, navigate to the new directory with
cd contact-form-react
. -
Start your engines (and port 3000) with
npm start
.
You will now be navigated to localhost:3000, where your code is running!