My two loop don't display paragraph élément with strong item. Thanks you. | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
- 1

My two loop don't display paragraph élément with strong item. Thanks you.

Display element paragraph with strong item. https://code.sololearn.com/W2c95sNhbx85/?ref=app

22nd Feb 2021, 6:15 AM
Malick Diagne
Malick Diagne - avatar
1 Antwort
0
Porque insertas el elemento "strong fuera del elemento "p": document.body.appendChild(strong); document.body.appendChild(paragraph); en lugar de eso: document.body.appendChild(paragraph); paragraph.appendChild(strong);
22nd Feb 2021, 12:25 PM
Daniel Briceño
Daniel Briceño - avatar