+ 2

How can I do a Break Line with createNodeText?? / Como hacer un salto de linea con createNodeText??

I need a break line after the 1st rule (regla in spanish) but I can't do it/nesesito un salto de linea luego de la 1era regla pero no he podido hacerlo... https://code.sololearn.com/WKa1E6gNWRy2/?ref=app Pd:The code is in spanish

12th Nov 2020, 6:31 PM
Carmen Lucía
Carmen Lucía - avatar
2 odpowiedzi
+ 3
q.appendChild(w); q.appendChild(document.createElement("br")); q.appendChild(e);
12th Nov 2020, 7:00 PM
ChaoticDawg
ChaoticDawg - avatar
+ 2
Oh yes now that I re-did that part it works. Thank you!
12th Nov 2020, 7:37 PM
Carmen Lucía
Carmen Lucía - avatar