- 1
I want to font-size my tree paragraph. I use class P and font-size attribut. I have error. Thanks you.
Font-size my tree paragraph. https://code.sololearn.com/W5VRCPYCS0nf/?ref=app
1 Respuesta
+ 2
I don't think that class P is required so you can remove that.
In JavaScript you must use camel case.
Also you missed writing style.
paragraph.style.fontSize = "24px";