diff --git a/js/darkmoderewrite.js b/js/darkmoderewrite.js index b34c854..9ff8d1e 100644 --- a/js/darkmoderewrite.js +++ b/js/darkmoderewrite.js @@ -7,6 +7,12 @@ $(document).ready(function() { 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'; } else { const body = document.querySelector('body'); @@ -15,6 +21,12 @@ $(document).ready(function() { 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'; + } }