This project provides a simple implementation of drag and drop functionality using JavaScript. It allows users to drag items from one area of the webpage and drop them into another, enhancing user interaction and usability.
- Draggable items: Users can drag elements with the class
task
. - Droppable areas: These are defined by elements with the class
swim-lane
. - Visual feedback: When an item is being dragged, it receives visual feedback by adding the class
is-dragging
. - Dynamic positioning: When dropping an item, it is placed above the nearest item in the drop area.