- 3

My style paragraph blue and my style paragraph2 red are not coming in paragraph3. Thanks you.

Style paragraph3 with paragraph add paragraph2. https://code.sololearn.com/W1BXITcMXE30/?ref=app

8th Jul 2021, 8:47 PM
Malick Diagne
Malick Diagne - avatar
1 Antwort
0
Becouse your third paragraph doesn't have style, the script assign the style just to first and second paragraph by the id and when you add they to third paragraph you're adding the content of the p element, not the style
8th Jul 2021, 9:34 PM
Luis E. Gómez Mena
Luis E. Gómez Mena - avatar