bro mixed up head and headTwo - fixed

This commit is contained in:
Preston 2024-10-02 17:44:17 -07:00 committed by GitHub
parent 104f65dc53
commit 8e819788de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,10 +10,10 @@ $(document).ready(function() {
p.style.color = '#f1f1f1'; p.style.color = '#f1f1f1';
const headTwo = document.querySelector('h2'); const headTwo = document.querySelector('h2');
head.style.color = '#f1f1f1'; headTwo.style.color = '#f1f1f1';
const head = document.querySelector('h1'); const head = document.querySelector('h1');
headTwo.style.color = '#f1f1f1'; head.style.color = '#f1f1f1';
const foot = document.querySelector('.footer'); const foot = document.querySelector('.footer');
foot.style.backgroundColor = 'grey'; foot.style.backgroundColor = 'grey';
@ -30,10 +30,10 @@ $(document).ready(function() {
p.style.color = 'black'; p.style.color = 'black';
const headTwo = document.querySelector('h2'); const headTwo = document.querySelector('h2');
head.style.color = 'black'; headTwo.style.color = 'black';
const head = document.querySelector('h1'); const head = document.querySelector('h1');
headTwo.style.color = 'black'; head.style.color = 'black';
const foot = document.querySelector('.footer'); const foot = document.querySelector('.footer');
foot.style.backgroundColor = '#ddd'; foot.style.backgroundColor = '#ddd';