We are trying to create 2 DIVs, append the 2nd created DIV into 1st created DIV and append the whole thing into the static DIV. The Append works fine in case of Appending the 1st created DIV into the static DIV but not in case of appending the created DIV into created DIV. As you can see here:
by clicking on: Show All
It produces JS Error message:
Uncaught TypeError: Cannot read property ‘appendChild’ of null