diff --git a/ script.js b/ script.js deleted file mode 100644 index 79eaded..0000000 --- a/ script.js +++ /dev/null @@ -1,7 +0,0 @@ -function toggleMenu() { - const menu = document.querySelector(".menu-links"); - const icon = document.querySelector(".hamburger-icon"); - menu.classList.toggle("open"); - icon.classList.toggle("open"); - } - \ No newline at end of file diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..21dc07c Binary files /dev/null and b/.DS_Store differ diff --git a/index.html b/index.html index 3b93d66..bf5e424 100644 --- a/index.html +++ b/index.html @@ -20,7 +20,7 @@ - + \ No newline at end of file diff --git a/mediaqueries.css b/mediaqueries.css index d23d897..e205603 100644 --- a/mediaqueries.css +++ b/mediaqueries.css @@ -1,4 +1,4 @@ -@media screen and (max-width: 1100px){ +@media screen and (max-width: 1200px){ #desktop-nav{ display: none; } diff --git a/script.js b/script.js new file mode 100644 index 0000000..20f7baf --- /dev/null +++ b/script.js @@ -0,0 +1,7 @@ +function toggleMenu() { + const menu = document.querySelector(".menu-links"); + const icon = document.querySelector(".hamburger-icon"); + menu.classList.toggle("open"); + icon.classList.toggle("open"); +} +