From 8e819788de00b6d22b8ebc5cb938334d15fd08ba Mon Sep 17 00:00:00 2001 From: Preston Date: Wed, 2 Oct 2024 17:44:17 -0700 Subject: [PATCH] bro mixed up head and headTwo - fixed --- js/darkmoderewrite.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/darkmoderewrite.js b/js/darkmoderewrite.js index 32ae26b..02ce000 100644 --- a/js/darkmoderewrite.js +++ b/js/darkmoderewrite.js @@ -10,10 +10,10 @@ $(document).ready(function() { p.style.color = '#f1f1f1'; const headTwo = document.querySelector('h2'); - head.style.color = '#f1f1f1'; + headTwo.style.color = '#f1f1f1'; const head = document.querySelector('h1'); - headTwo.style.color = '#f1f1f1'; + head.style.color = '#f1f1f1'; const foot = document.querySelector('.footer'); foot.style.backgroundColor = 'grey'; @@ -30,10 +30,10 @@ $(document).ready(function() { p.style.color = 'black'; const headTwo = document.querySelector('h2'); - head.style.color = 'black'; + headTwo.style.color = 'black'; const head = document.querySelector('h1'); - headTwo.style.color = 'black'; + head.style.color = 'black'; const foot = document.querySelector('.footer'); foot.style.backgroundColor = '#ddd';