- 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
4 Answers
0
You're appending the paragraphs to body instead of div. I guess you are asking this!
0
Append paragraphs with div only not with document.body.appendChild...
0
Comment like 21, 29 and 37, then you will get preferred output