From 2ec3f49cd3690060367258627ce17f838ce2ae34 Mon Sep 17 00:00:00 2001 From: css pro Date: Tue, 1 Oct 2024 11:11:36 -0700 Subject: [PATCH] Update darkmode.js --- js/darkmode.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/darkmode.js b/js/darkmode.js index 3877c21..505ae74 100644 --- a/js/darkmode.js +++ b/js/darkmode.js @@ -1,7 +1,7 @@ function dMode(){ var buttons = document.getElementsByTagName('button'); var body = document.body; - buttons.style.background-color("#13f4f3"); - body.style.color("f1f1f1"); - body.style.background-color("3c3c3c"); + buttons.style.backgroundcolor="#13f4f3"; + body.style.color="f1f1f1"; + body.style.backgroundcolor="3c3c3c"; }