Copying data

Report a typo

Make it possible to copy drag-and-drop data. This link will help you with the task.

Write HTML and CSS code
<!DOCTYPE html>
<html>
<body>
<div id="draggable" draggable="true" ondragstart="dragStartHandler(event)">Drag me</div>

<script>
function dragStartHandler(event) {
// Add your code here
}
</script>
</body>
</html>





Completed 1 of 2
Make it possible to copy drag-and-drop data
The code is correct
___

Create a free account to access the full topic