Initial Commit
This commit is contained in:
commit
f54d97e4a9
30 changed files with 2532 additions and 0 deletions
8
static/js/nav.js
Normal file
8
static/js/nav.js
Normal file
|
@ -0,0 +1,8 @@
|
|||
window.onload = () => {
|
||||
const burger = document.getElementById('navBarBurger');
|
||||
const navBarMenu = document.getElementById('navBarMenu');
|
||||
burger.addEventListener('click', () => {
|
||||
burger.classList.toggle('is-active');
|
||||
navBarMenu.classList.toggle('is-active');
|
||||
});
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue