Update darkmode.js

This commit is contained in:
css pro 2024-10-01 12:25:17 -07:00 committed by GitHub
parent 71f9cb1efa
commit 82a9db9967
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,3 +1,5 @@
var dCheck = document.getElementById("dMode");
function darkMode() {
console.log("heck yeah");
var inputs = document.getElementsByTagName('input');
@ -13,3 +15,6 @@ function darkMode() {
}
}
dCheck.onClick(){
darkMode();
}