CodeZettaInterview Hub

HTML · APIs · Mid-Level · Live Coding

How does the Drag and Drop API work?

Short Interview Answer

draggable elements fire drag events; drop targets handle dragover/drop and dataTransfer.

Detailed Explanation

Touch support is uneven. Provide keyboard alternatives. Prefer File drop for uploads carefully.

Did you know this answer?