Build an app to generate new boxes and to move those boxes using keyboard keys.
It is a moveable box generator web based application. In this application, It has a big container and inside this container you can add a fixed size boxes as much as you want no limit for this. You can also delete those boxes whom you want to delete. These small size boxes will only move inside big container.
-
For adding Box - Click on
+Add Boxbutton. -
For Enabling/Disabling Keyboard Control - Click on
EnableorDisableRadio Button. -
For Moving Boxes - Press on
ArrowUp,ArrowDown,ArrowLeft,ArrowRightbutton. -
For Delete box - Select box using mouse and Press
Deletebutton
-
Download this repository in your computer.
-
Extract folder and add this folder to IDE (Visual Studio Code).
-
Open terminal inside your folder and then write
npm installcommand. It will addnode_modulesfolder in your project folder. -
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.