This purpose of this repository is to learn and experiment how to drag and drop elements using vanilla Javascript.
├── README.md
├── app.js
├── images
│ └── king.png
├── index.html
└── style.css
Clone this repo and point your web browser to the index.html file.
MDN - Javascript reference
Inspired by tutorial: Master JavaScript Drag and Drop with Chess Example!
Source code
Credits goes to @kubowania (based on above tutorial)
Medias
king.png taken from https://www.downloadclipart.net/large/9763-chess-piece-design.png