nó de imagem Javascript AppendChild

    let img = document.createElement("img");
    img.src = source.getAttribute('data-image');
    document.getElementByID("target").appendChild(img);
Rocket Noob