DEV Community

Cover image for Learn how to create a drag and drop with Tailwind CSS and JavaScript
Michael Andreuzza
Michael Andreuzza

Posted on

Learn how to create a drag and drop with Tailwind CSS and JavaScript

Today, we’re having fun with JavaScript and Tailwind CSS using Sortable.js.

What is drag and drop?
Drag and drop lets you move items on a screen, like files, images, or text, from one spot to another.

Read the full code, see it live and get the code.

Top comments (2)

Collapse
 
the_riz profile image
Rich Winter

Your code has nothing to do with tailwind.

Collapse
 
mike_andreuzza profile image
Michael Andreuzza

yeah, its built with tailwind.

AWS Security LIVE!

Tune in for AWS Security LIVE!

Join AWS Security LIVE! for expert insights and actionable tips to protect your organization and keep security teams prepared.

Learn More

👋 Kindness is contagious

Explore a sea of insights with this enlightening post, highly esteemed within the nurturing DEV Community. Coders of all stripes are invited to participate and contribute to our shared knowledge.

Expressing gratitude with a simple "thank you" can make a big impact. Leave your thanks in the comments!

On DEV, exchanging ideas smooths our way and strengthens our community bonds. Found this useful? A quick note of thanks to the author can mean a lot.

Okay