- 1

I want to append div with heading and append div paragraph. I do this like div.appendChild(heading).My content is not display. T

Append div with heading and append div with paragraph like div.appendChild(heading). Thanks you. https://code.sololearn.com/WLXNQQ186doW/?ref=app

17th Mar 2021, 3:18 AM
Malick Diagne
Malick Diagne - avatar
1 Antwort
- 1
You need to append the div at last in body Use this in last.. document.body.appendChild(div)
17th Mar 2021, 3:56 AM
Ayush Kumar
Ayush Kumar - avatar