This project demonstrates how to implement a simple drag-and-drop functionality using plain JavaScript. It includes the ability to drag elements and reorder them within a container.
- Drag Events: Implements
dragstartanddragendto add and remove drag styles. - Reordering: Allows reordering of elements within a container using
dragoverandinsertBefore. - Dynamic Interaction: Elements are dynamically moved as the user drags them, providing a smooth and intuitive user experience.
Clone the repository to your local machine:
git clone https://github.com/bhagirathpaliyal/DragAndDrop.git
cd DragAndDrop