onUrl();

                    categories.forEach(category => {
                        const categoryDiv = document.createElement('div');
                        categoryDiv.classList.add('category');

                        const categoryName = document.createElement('p');
                        categoryName.classList.add('menu-item');
                        categoryName.textContent = category.name;
                        categoryName.onclick = () => toggleChannels(category.name);

                    