In the project directory, you can run: npm install npm start Demo https://split-js-divided-screens.vercel.app/