2018-11-20 11:19:58 -08:00
|
|
|
window.onload = () => {
|
2020-11-08 13:54:08 -08:00
|
|
|
const burger = document.getElementById('navBarBurger')
|
|
|
|
const navBarMenu = document.getElementById('navBarMenu')
|
2018-11-20 11:19:58 -08:00
|
|
|
burger.addEventListener('click', () => {
|
2020-11-08 13:54:08 -08:00
|
|
|
burger.classList.toggle('is-active')
|
|
|
|
navBarMenu.classList.toggle('is-active')
|
|
|
|
})
|
|
|
|
}
|