I hope it works🙏
This commit is contained in:
parent
ac1935a7ae
commit
7fe86c2681
@ -4,12 +4,10 @@ $(document).ready(function() {
|
||||
if (isChecked) {
|
||||
const body = document.querySelector('body');
|
||||
body.style.backgroundColor = '#404040';
|
||||
|
||||
body.style.color = '#f1f1f1';
|
||||
|
||||
const text = document.querySelector('.footer');
|
||||
text.style.backgroundColor = 'grey';
|
||||
|
||||
const body = document.querySelector('text');
|
||||
body.style.color = '#f1f1f1';
|
||||
|
||||
const body = document.querySelector('button');
|
||||
body.style.backgroundColor = '#13f4f3';
|
||||
@ -17,13 +15,11 @@ $(document).ready(function() {
|
||||
} else {
|
||||
const body = document.querySelector('body');
|
||||
body.style.backgroundColor = '#f1f1f1';
|
||||
|
||||
body.style.color = 'black';
|
||||
|
||||
const text = document.querySelector('.footer');
|
||||
text.style.backgroundColor = '#ddd';
|
||||
|
||||
const body = document.querySelector('text');
|
||||
body.style.color = 'black';
|
||||
|
||||
const body = document.querySelector('button');
|
||||
body.style.backgroundColor = '#4caf50';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user