use javascript to change colorof a heading code example Example: js element text color element.style.color = '#f0f';