Skip to content

Browser exercise to create random squares on the DOM and clone themselves when you click them

Notifications You must be signed in to change notification settings

balusio/square-demo

Repository files navigation

Square draw demo:

Browser exercise to create random squares on canvas API and clone themselves on click events square image

Installing:

This project is plain vanilla JS , transpiled by babel and bundled by webpack, the js code style guide is based n the aibnb lint guideline eslint-config-airbnb-base

be sure to have node on your current environment, after that go to root folder and run : npm install

Running the instances:

you can start the development server (webpack-dev-server) running npm run start if want to check the build run npm run build this will bundle the js minified on the public folder and expose it on a simple expressJS server by default is on PORT 8080, if is needed chage it on the index.js file of the root folder

About

Browser exercise to create random squares on the DOM and clone themselves when you click them

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published