03/03-js-canvas/03-js-drawMove.html

1

!IMPORTANT NOTE, getting the relative path to the block.jpg image was a pain in the ass, this is what the path has to be, when located in this page's directory

block.src = './js/canvas-js-scripts/img/block.jpg';

I just created an orange rect

Documentation for canvas.drawImage() here https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage#syntax