Drag & Drop API
I had researched how to perform the drag and drop functions in JS by reading this article on W3Schools and in it, it instructs you to bind the event listeners, inlined with in the HTML document, which I did:
<div class="pitch__player player-1" ondro...
johnasp.hashnode.dev1 min read