... а должно стать ...
const myElements = document.querySelectorAll('.some_class');
myElements.forEach( elem => elem.textContent = 42 );
{"status":"success","count":"3","items":["/img/hello/world.jpg","//example.com/img/boobar.png","https://example.com/img/hahuna_matata.gif"]}
{"status":"error","count":"0","errorMessage":"FILES_NOT_FOUND"}
myImage.style.display = 'inline-block'; // видимо
myImage.style.display = 'none'; // невидимо
myImage.remove(); // совсем убрать