Creating Elements

Here I create 100 divs, with a unique ID & same className, each containing a single div <div class="generatedDiv" id="num1"><div></div></div> and add them to the document.