School-JS

https://youtu.be/lfmg-EJ8gm4 https://youtu.be/CgkZ7MvWUAA

React

Install Node.js

# Download and install nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash

# in lieu of restarting the shell
\. "$HOME/.nvm/nvm.sh"

# Download and install Node.js:
nvm install 22

# Verify the Node.js version:
node -v # Should print "v22.14.0".
nvm current # Should print "v22.14.0".

# Verify npm version:
npm -v # Should print "10.9.2".

To create the project :

npm create vite@latest

Select :

✔ Project name: … vite-project
✔ Select a framework: › React
✔ Select a variant: › JavaScript

Run the project :

cd vite-project
npm install
npm run dev