          iconImg.src = iconUrl;
            iconImg.alt = "Icon";
            iconImg.classList.add('channel-icon');

            
            iconImg.onerror = function() {
                this.onerror = null; 
                this.src = getDefaultIconUrl();
            };

            channelP.appendChild(iconImg);
            channelP.appendChild(document.createTextNode(channel.name));

            similarChannelsDiv.appendChild(channelP);
        });
    }


        function handleChannelClick(event) {