document.addEventListener('DOMContentLoaded', function() {
// Get the toggle element and the menu section
const toggle = document.querySelector('.slide-menu-toggle');
const menuSection = document.getElementById('waliveNav');
// Add click event listener to the toggle
toggle.addEventListener('click', function() {
// Toggle the display of the menu section
if (menuSection.style.display === 'block') {
menuSection.style.display = 'none';
} else {
menuSection.style.display = 'block';
}
});
});