Markdown Previewer - I think I'm complete, but it won't pass

Tell us what’s happening:
I believe that I have completed all of the necessary requirements to pass all of the objectives. However I am getting errors on a few of them. Is there a problem with the way that I’m initializing the values of the #editor component and #preview component? I hate to be “that guy”, but “it works on my machine”

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36.

Challenge: Build a Markdown Previewer

Link to the challenge:

The user stories are asking that it can see this:

When my markdown previewer first loads, the default text in the #editor field should contain valid markdown that represents at least one of each of the following elements: a header (H1 size), a sub header (H2 size), a link, inline code, a code block, a list item, a blockquote, an image, and bolded text

It looks like you’ve written HTML rather than markdown, i.e. you wrote this:

<h1>H1 Element</h1>

Instead of this:

# H1 Element

So change all of the default text into valid markdown per the user story and you’ll pass. You’ve done an otherwise great job!

(Here’s a cheatsheet in case you don’t know how to write markdown: Markdown Cheatsheet · adam-p/markdown-here Wiki · GitHub)

Wow…thanks for the timely reply. I will give that a shot!

1 Like

That did it huntinghawk1415! Thanks for pointing me in the proper direction!

1 Like

Glad I was able to help!

1 Like