javascript how to change the font in the class code example Example: change font js selector.style.fontFamily = "Times New Roman";