Dynamic element creation by using createElement
creating elements on the fly