SyntaxFix
Write A Post
Hire A Developer
Questions
JavaScript is case sensitive.
So, if you want to change the font size, you have to go:
span.style.fontSize = "25px";