diff --git a/src/JS/main.js b/src/JS/main.js index c924695..091ddeb 100644 --- a/src/JS/main.js +++ b/src/JS/main.js @@ -12,3 +12,6 @@ document.querySelector('.theme-toggle-button').addEventListener('click',() =>{ document.querySelector('.theme-icon').classList.toggle("fa-sun"); }) +document.querySelector('.theme-toggle-button2').addEventListener('click',() =>{ + document.body.classList.toggle('dark') +}) \ No newline at end of file diff --git a/src/pages/academics/main.html b/src/pages/academics/main.html index 3242774..bad9b8e 100644 --- a/src/pages/academics/main.html +++ b/src/pages/academics/main.html @@ -200,7 +200,7 @@