- 2

I want to style the group (div) element (Malick and diagne) like div.style.border="solid 2px red" in This followed code. Thanks

style border in group (div) malick and diagne https://code.sololearn.com/WiGEH8Rs42Qx/?ref=app

14th May 2021, 4:07 AM
Malick Diagne
Malick Diagne - avatar
4 Antworten
0
You're appending the paragraphs to body instead of div. I guess you are asking this!
14th May 2021, 5:14 AM
Geekyorion
0
Append paragraphs with div only not with document.body.appendChild...
14th May 2021, 5:18 AM
HBhZ_C
HBhZ_C - avatar
0
Comment like 21, 29 and 37, then you will get preferred output
14th May 2021, 5:23 AM
Geekyorion