Use the addEventListener() method to attach "dragstart", "dragover" and "drop" events to the document object.
Drag me!
Drag the text up and down between the two rectangles: