const name = document.querySelector(".name"); function changeColor() { name.style.color = "blue"; }