diff --git a/js/lab-1.js b/Lab-1/lab-1.js similarity index 100% rename from js/lab-1.js rename to Lab-1/lab-1.js diff --git a/js/index.js b/js/index.js deleted file mode 100644 index d14659f..0000000 --- a/js/index.js +++ /dev/null @@ -1,15 +0,0 @@ -const burgerIcon = document.querySelector('#burger'); -const navbarMenu = document.querySelector('#nav-links'); - -burgerIcon.addEventListener('click', () => { - burgerIcon.classList.toggle('is-active'); - navbarMenu.classList.toggle('is-active'); -}); - -const dropDowns = document.querySelectorAll('#dropdown'); - -dropDowns.forEach(element => { - element.addEventListener('click', () => { - element.classList.toggle('is-active'); - }) -}); \ No newline at end of file diff --git a/js/lab-2.js b/js/lab-2.js deleted file mode 100644 index 9457267..0000000 --- a/js/lab-2.js +++ /dev/null @@ -1,540 +0,0 @@ -let maxNumOfValues = 26; -let currNumOfValues = 2; - -function AddValue() { - - if (currNumOfValues < 26) { - - let charNum = 65 + currNumOfValues; - currNumOfValues++; - - let delBtn = document.querySelectorAll('#delBtn'); - if (delBtn[delBtn.length - 1]) { - delBtn[delBtn.length - 1].style="display: none;"; - } - - node = document.getElementById('values'); - node.insertAdjacentHTML('beforeend', `