const summerCitizenImg = () => { const title = document.querySelector("title"); const image = document.getElementsByClassName("fullwidth-inner-image")[0]; if (title.textContent === "Summer Citizens") { image.style = "background-image: url('https://medialibrarycf.entrata.com/3690/MLv3/2023/04/28/034044/644c3d5cc7374707.webp')"; } }; setTimeout(() => { summerCitizenImg(); }, 1000);