Lesson - 54 | How To Create Drag & Drop Using HTML CSS & JavaScript | HTML Tutorial For Beginners

preview_player
Показать описание
In this tutorial video, How To Create Drag & Drop Using HTML CSS & JavaScript.

-Make Element draggable you need to write true. If you write false, then it is not draggable.

Drag - ondragstart and setdata()

-The ondragstart attribute calls a function,dragevent that specifies what data to be dragged.

-in video we use text is data type and value are the id of the draggable element b.

-when the dragged data is dropped, a drop event occurs.

Checkout my Previous lesion: [

Follow us on below links.
Рекомендации по теме