Markdown previewer error

I don’t really understand the error, if someone can help please.
#preview's only children should be those rendered by marked.js

I finally discover my id="preview" was on the div parent to the element that is rendering, that’s why it was complaining.