javascript add content to document code example
Example: js add content
document.getElementById("parentID").appendChild(/*..your content created using DOM methods..*/)
document.getElementById("parentID").appendChild(/*..your content created using DOM methods..*/)