add content to html javascript 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..*/)