Menu
Hi,
I have this “gallery” that has a main img and text and I want to change the img and the text with the img that I am clicking on and with it’s text. The problem is that the second img text has a class of hide and for some reason I can;t remove it !
The gallery should work like this one:
But I don’t know why when I am implementing it into my site this line of code doesn’t work anymore.
[code]logosMain.lastElementChild.classList.remove(‘hide’);
Here are the files for my site.
The gallery is in the main tag !