diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000..6f3a291
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,3 @@
+{
+ "liveServer.settings.port": 5501
+}
\ No newline at end of file
diff --git a/index.html b/index.html
index 63a1dfe..2391a22 100644
--- a/index.html
+++ b/index.html
@@ -85,7 +85,7 @@
Coding Community of MSIT
-
+
diff --git a/js/toggle-theme.js b/js/toggle-theme.js
index a910556..de9ada1 100644
--- a/js/toggle-theme.js
+++ b/js/toggle-theme.js
@@ -1,4 +1,13 @@
+const imageElement = document.getElementById("bgimage");
+let isImage1 = true;
+
var theme=document.getElementById("change-theme");
theme.onclick=function(){
document.body.classList.toggle("light-theme");
+ if (isImage1) {
+ imageElement.src = "./public/lightbg.png";
+ } else {
+ imageElement.src = "./public/background.png";
+ }
+ isImage1 = !isImage1;
}
\ No newline at end of file
diff --git a/public/lightbg.png b/public/lightbg.png
new file mode 100644
index 0000000..a793acf
Binary files /dev/null and b/public/lightbg.png differ