From 63d8142987e3ad5d8c57d52fc3f9e66aa04a4218 Mon Sep 17 00:00:00 2001 From: Josh1005GH <75068322+Josh1005GH@users.noreply.github.com> Date: Sat, 6 Jul 2024 09:24:16 +0800 Subject: [PATCH] js update js update --- script.js | 7 ------- .DS_Store | Bin 0 -> 6148 bytes index.html | 4 ++-- mediaqueries.css | 2 +- script.js | 7 +++++++ 5 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 script.js create mode 100644 .DS_Store create mode 100644 script.js 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 0000000000000000000000000000000000000000..21dc07c97503793be3f93b56315ccc144e8a8696 GIT binary patch literal 6148 zcmeHKIS#@=4733uB$||z`vrcmLhu4Uz}X>D1o~9Gi>EO@goFYO5)B$h_Ut;IjWR_X zi-<0+hq*{2A``fw+${9X?wj{)kQoKSamGd3L%Toi&gWCF`hCK-Yu#{i)1S z0V+TRr~nn90-qGH-V2*d0~x6R6`%r71?>A!;D$A^3-nJ1f{y^e5z=m0`z!%0mH^ho zE)W@*1{D}o%@IR`j(o|wn%D&fT{MRe%_nP4DC$qg`NhjcYak;PpaQQ73}f3^|6jpB z%>S<>?x+A2_$vi;v|KM2c%|&Ey_d6ITi_eG)!gA`SUUy5+cD7FF*eqYXI>O_#n!lA V6T3jCBkyz|e+En!8Ws4p0uNok6|w*T literal 0 HcmV?d00001 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"); +} +