I'm trying to put an image on a canvas in javascript. It is going on top of a box.
    var img = document.createElement("img");
    img.src = "linetime.png";
    img.width = 100;
    img.height = 100;
    document.body.appendChild(img);
That is the general code for calling the image. Tell me if you need more context/you need me to put the rest of the code in.
 
     
    