In the video 👆, I give a quick run-down on Drag and Drop. I talk through: listening to dragover and drop to disable the default behavior 🚫using the drop event to replace the contents of an <input type="file">using the DataTransfer object to interact with dropped files directlyand, most importantly: I advocate using the whole page as a drop targetThis might be all you need—it’s the most common us
![Drag and Drop](https://cdn-ak-scissors.b.st-hatena.com/image/square/576cf99cadf7140ae9bf114cd7a4aa7fc525dff9/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fda%3Atrue%2Fresize%3Afit%3A600%2F1%2AMFa7Au40MycdxrLO0iycXg.gif)