+ 2

I want to append first div to first heading and append second div to second heading. Thanks you.

First div to first heading and second div to second heading. https://code.sololearn.com/Ww7BIfeeOfMa/?ref=app

16th Mar 2021, 7:10 AM
Malick Diagne
Malick Diagne - avatar
1 Resposta
+ 4
Instead of document.body.appendChild you can use heading.appendChild(div) appendChild() is available for all html elements
16th Mar 2021, 6:04 PM
Virtual Pixel || good bits
Virtual Pixel || good bits - avatar