From 5252929e49c11439750cdee06b6354b84703b5cc Mon Sep 17 00:00:00 2001 From: css pro Date: Wed, 2 Oct 2024 16:44:49 -0700 Subject: [PATCH] Update darkmoderewrite.js --- js/darkmoderewrite.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/js/darkmoderewrite.js b/js/darkmoderewrite.js index 8582418..04f5dd7 100644 --- a/js/darkmoderewrite.js +++ b/js/darkmoderewrite.js @@ -5,6 +5,12 @@ $(document).ready(function() { const body = document.querySelector('body'); body.style.backgroundColor = '#404040'; body.style.color = '#f1f1f1'; + + const p = document.querySelector('p'); + p.style.color = '#f1f1f1'; + + const head = document.querySelector('h1'); + head.style.color = '#f1f1f1'; const foot = document.querySelector('.footer'); foot.style.backgroundColor = 'grey';