Markdown Previewer failing test 6

It’s loading everything quite alright but failing test 6 - "When my markdown previewer first loads, the default markdown in the #editor field should be rendered as HTML in the #preview element”, it says “#preview does not contain the H1 element represented by the markdown in the #editor field : expected false to be true”

I apologize for the appearance of it and appreciate any help, this is my first time using this forum so I’m slightly terrified.

The culprit is that you are using <h1> and <h2> in the default markup. This gets interpreted like &lt;h1&gt; and &lt;h2&gt; in the output which is not the same as the input so the test fails. If you remove the special characters it will work

1 Like

Oh wow, I never would have figured that out, so glad I asked, thank you so much!!!