function toggleBurger() {
    const burger = document.getElementById('navbar-burger')
    const menu = document.getElementById('navbar-menu')
    if (burger.classList.contains('is-active')){
        burger.classList.remove('is-active')
        menu.classList.remove('is-active')
    }
    else {
        burger.classList.add('is-active')
        menu.classList.add('is-active')
    }
}
// Toggles burger menu on and off
Toggles burger menu on and off
Toggles burger menu on and off
function toggleBurger() {
    const burger = document.getElementById('navbar-burger')
    const menu = document.getElementById('navbar-menu')
    if (burger.classList.contains('is-active')){
        burger.classList.remove('is-active')
        menu.classList.remove('is-active')
    }
    else {
        burger.classList.add('is-active')
        menu.classList.add('is-active')
    }
}
function toggleBurger ( ) { const burger = document . getElementById ( 'navbar-burger' ) const menu = document . getElementById ( 'navbar-menu' ) if ( burger . classList . contains ( 'is-active' ) ) { burger . classList . remove ( 'is-active' ) menu . classList . remove ( 'is-active' ) } else { burger . classList . add ( 'is-active' ) menu . classList . add ( 'is-active' ) } }
Toggles burger menu on and off
Toggles burger menu on and off