[Solved] Getting to be displyed in the heading tag

I found a few mistakes in your code. You need to use document.body.appendChild(bannerBox); instead of document.appendChild(bannerBox); I ran your code after making this correction http://jsbin.com/zavoyuyife/1/edit and the bannerBox element got added to the body. You can see it in Firebug (firefox) or Chrome inspector. To make it visually appear you need to give proper height … Read more