How To Make A Drag-and-Drop File Uploader With Vanilla JavaScript — Smashing Magazine
A step-by-step guide to implementing drag’n’drop, and image previews with the Filereader API. No libraries or frameworks were harmed in the making of this article.