I have a JS code that is not currently not executing on Chrome Console. I have tried indenting the code differently.
document.body.addEventListener('click', function () {
var myParent = document.getElementById("Banner");
var myImage = document.createElement("img");
myImage.src = 'https://thecatapi.com/api/images/get?format=src&type=gif';
myParent.appendChild(myImage);
myImage.style.marginLeft = "160px";
});