<ul class="gallery"></ul>
and
const images = [
{
url: ,
alt: ,
},
document.body.style.backgroundColor = "#0009";
const imageGalleryItem = document.querySelector("ul >li");
imageGalleryItem.forEach(element => {'ul.style.listStyleType = none;'})
There is the problem: Cannot read properties of null (reading 'forEach'). Hello, can You help how to fix it?