this better work
This commit is contained in:
parent
7fe86c2681
commit
eefb799307
@ -6,22 +6,22 @@ $(document).ready(function() {
|
|||||||
body.style.backgroundColor = '#404040';
|
body.style.backgroundColor = '#404040';
|
||||||
body.style.color = '#f1f1f1';
|
body.style.color = '#f1f1f1';
|
||||||
|
|
||||||
const text = document.querySelector('.footer');
|
const foot = document.querySelector('.footer');
|
||||||
text.style.backgroundColor = 'grey';
|
foot.style.backgroundColor = 'grey';
|
||||||
|
|
||||||
const body = document.querySelector('button');
|
const button = document.querySelector('button');
|
||||||
body.style.backgroundColor = '#13f4f3';
|
button.style.backgroundColor = '#13f4f3';
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
const body = document.querySelector('body');
|
const body = document.querySelector('body');
|
||||||
body.style.backgroundColor = '#f1f1f1';
|
body.style.backgroundColor = '#f1f1f1';
|
||||||
body.style.color = 'black';
|
body.style.color = 'black';
|
||||||
|
|
||||||
const text = document.querySelector('.footer');
|
const foot = document.querySelector('.footer');
|
||||||
text.style.backgroundColor = '#ddd';
|
foot.style.backgroundColor = '#ddd';
|
||||||
|
|
||||||
const body = document.querySelector('button');
|
const button = document.querySelector('button');
|
||||||
body.style.backgroundColor = '#4caf50';
|
button.style.backgroundColor = '#4caf50';
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user