Run ❯
Get your
own
website
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
JavaScript String Methods
The fontsize() Method
The fontsize() method is deprecated in JavaScript.
Use a style attribute instead: