/javascript-drag-and-drop

This repository purpose is to learn and experiment drag and drop In Javascript

Primary LanguageJavaScriptMIT LicenseMIT

Javascript - Drag and drop

This purpose of this repository is to learn and experiment how to drag and drop elements using vanilla Javascript.

Project structure

├── README.md
├── app.js
├── images
│   └── king.png
├── index.html
└── style.css

How to run ?

Clone this repo and point your web browser to the index.html file.

References

MDN - Javascript reference

HTML Drag and Drop API

Inspired by tutorial: Master JavaScript Drag and Drop with Chess Example!

Credits

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