Give Me The Example Programming Of Making Elements Draggable ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Give Me The Example Programming Of Making Elements Draggable ?

Releted To HTML5

27th Jul 2018, 7:23 AM
The Shiva
The Shiva - avatar
4 Answers
+ 6
is That Reqired To learn JavaScript to make Elements Draggable ?
27th Jul 2018, 7:42 AM
The Shiva
The Shiva - avatar
27th Jul 2018, 7:51 AM
Sudarshan Rai
Sudarshan Rai - avatar
+ 1
https://www.w3schools.com/howto/howto_js_draggable.asp
27th Jul 2018, 7:39 AM
Janning⭐
Janning⭐ - avatar
+ 1
Yes, roughly because draggable allows the user to interact with your website in a somewhat unpredictable manner. HTML and CSS works well for some very finite, very predictable interactions, but HTML is more for structure and CSS is more for styling. JavaScript can provide the user with some guard rails while giving them some freedom to be creative.
27th Jul 2018, 10:59 AM
Janning⭐
Janning⭐ - avatar