Skip to content

bhagirathpaliyal/miniProjects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drag-and-Drop in JavaScript

Overview

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.

Features

  • Drag Events: Implements dragstart and dragend to add and remove drag styles.
  • Reordering: Allows reordering of elements within a container using dragover and insertBefore.
  • Dynamic Interaction: Elements are dynamically moved as the user drags them, providing a smooth and intuitive user experience.

Installation

Clone the repository to your local machine:

git clone https://github.com/bhagirathpaliyal/DragAndDrop.git  
cd DragAndDrop

Releases

No releases published

Packages

No packages published