function to increase font size js code example Example: change font js selector.style.fontFamily = "Times New Roman";