Demo of Creating Elements using DOM/Javascript
Here is the Left Panel
Here is the Right Panel
Type your text here:
Check here to encapsulate the text in a text box: