I'm trying to create a dragable canvas using JavaScript and HTML.
I'm quite familiar with HTML but still learning the JavaScript and Canvas thing.

My guess for the HTML javascript is (which isn't working right)

<script src="example.js"  class="drag-image" id="draggable"/></script>
Where example.js is the code for a simple Hello World canvas that I want to display on the webpage and then drag around.

Any tips would be appreciated.