In this post, I will show how you can create an in-memory DOM. — Introduction Few weeks back, I had a task to create an online code editor for HTML, CSS, JS and show the output on the same screen. Why I needed in-memory DOM?
I stored different codes in different variables and for showing the output on same screen, I had to create a…