1var img1 = document.createElement("img");
2img1.src = "http://path/to/image";
3
1document.body.appendChild(img1);
2document.querySelector(".some-class").appendChild(img1);
3document.getElementById("someId").appendChild(img1);
4
1<img id="score1" class="hidden">
2<img id="score2" class="hidden">
3<img id="score3" class="hidden">
4
5.hidden { display: none; }
6
7var score2Element = document.getElementById("score2");
8score2Element.classList.remove("hidden");
9