import rockImage from "../images/icon-rock.svg"
import paperImage from "../images/icon-paper.svg"
import scissorsImage from "../images/icon-scissors.svg"
let img = document.createElement("img")
img.src = rockImage
Firstly import the images with "Import", and then append it to the newly created "img" element.