console.clear();
import Splitting from "https://cdn.skypack.dev/splitting@1.0.6";
Splitting();
const navOpenBtn = document.querySelector("[data-btn-open]");
const navCloseBtn = document.querySelector("[data-btn-close]");
const nav = document.querySelector(".nav");
let isnavOpened = true;
navOpenBtn.onclick = () => {
toggleNav();
};
navCloseBtn.onclick = () => {
toggleNav();
};
function toggleNav() {
if (isnavOpened) nav.classList.remove("nav--opened");
else nav.classList.add("nav--opened");
isnavOpened = !isnavOpened;
}
console.clear();
import Splitting from "https://cdn.skypack.dev/splitting@1.0.6";
Splitting();
const navOpenBtn = document.querySelector("[data-btn-open]");
const navCloseBtn = document.querySelector("[data-btn-close]");
const nav = document.querySelector(".nav");
let isnavOpened = true;
navOpenBtn.onclick = () => {
toggleNav();
};
navCloseBtn.onclick = () => {
toggleNav();
};
function toggleNav() {
if (isnavOpened) nav.classList.remove("nav--opened");
else nav.classList.add("nav--opened");
isnavOpened = !isnavOpened;
}
console.clear();
import Splitting from "https://cdn.skypack.dev/splitting@1.0.6";
Splitting();
const navOpenBtn = document.querySelector("[data-btn-open]");
const navCloseBtn = document.querySelector("[data-btn-close]");
const nav = document.querySelector(".nav");
let isnavOpened = true;
navOpenBtn.onclick = () => {
toggleNav();
};
navCloseBtn.onclick = () => {
toggleNav();
};
function toggleNav() {
if (isnavOpened) nav.classList.remove("nav--opened");
else nav.classList.add("nav--opened");
isnavOpened = !isnavOpened;
}
console.clear();
import Splitting from "https://cdn.skypack.dev/splitting@1.0.6";
Splitting();
const navOpenBtn = document.querySelector("[data-btn-open]");
const navCloseBtn = document.querySelector("[data-btn-close]");
const nav = document.querySelector(".nav");
let isnavOpened = true;
navOpenBtn.onclick = () => {
toggleNav();
};
navCloseBtn.onclick = () => {
toggleNav();
};
function toggleNav() {
if (isnavOpened) nav.classList.remove("nav--opened");
else nav.classList.add("nav--opened");
isnavOpened = !isnavOpened;
}
console.clear();
import Splitting from "https://cdn.skypack.dev/splitting@1.0.6";
Splitting();
const navOpenBtn = document.querySelector("[data-btn-open]");
const navCloseBtn = document.querySelector("[data-btn-close]");
const nav = document.querySelector(".nav");
let isnavOpened = true;
navOpenBtn.onclick = () => {
toggleNav();
};
navCloseBtn.onclick = () => {
toggleNav();
};
function toggleNav() {
if (isnavOpened) nav.classList.remove("nav--opened");
else nav.classList.add("nav--opened");
isnavOpened = !isnavOpened;
}