- 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
1 Respuesta
- 1
You need to append the div at last in body
Use this in last..
document.body.appendChild(div)