I want to font-size my tree paragraph. I use class P and font-size attribut. I have error. Thanks you. | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
- 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

18th Mar 2021, 6:07 AM
Malick Diagne
Malick Diagne - avatar
1 Réponse
+ 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";
18th Mar 2021, 6:27 AM
Avinesh
Avinesh - avatar