Draw an image

drawImage(img,x,y) will draw an image. You need to replace the "x" and "y" with the position you want to draw the image. The first parameter is the image that it will draw. For no dont worry about it.

Follow the steps below

  1. Draw image to canvas right after //todo: draw image.
            ctx.drawImage(img,50,50);
            
          
  2. Draw another image at position 150,200 right after the first image.
            ctx.drawImage(img,150,50);
            
          
  3. Draw 3 more images. You chose there they should go.
            ctx.drawImage(img,150,50);
            
          
  4. Change the image source by updating the src value
           img.src = 'http://goo.gl/KXVpTD';