diff --git a/codes/main/script-8268113.js b/codes/main/script-8268113.js deleted file mode 100644 index f8a5a4e..0000000 --- a/codes/main/script-8268113.js +++ /dev/null @@ -1,3 +0,0 @@ -document.querySelector('.hamburger-icon').addEventListener('click', function() { - document.querySelector('.nav-links').classList.toggle('show'); -}); diff --git a/codes/main/script-8268113.ts b/codes/main/script-8268113.ts new file mode 100644 index 0000000..15d1a49 --- /dev/null +++ b/codes/main/script-8268113.ts @@ -0,0 +1,3 @@ +document.querySelector('.hamburger-icon')?.addEventListener('click', function() { + document.querySelector('.nav-links')?.classList.toggle('show'); +});