Build a Markdown Previewer JSX Issue

Tell us what’s happening:
My React component is not functional. I am not sure why. Can anyone tell me why my jsx is not showing up in the preview window?

Thanks!

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/70.0.3538.110 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/front-end-libraries/front-end-libraries-projects/build-a-markdown-previewer

2 issues

  1. reactDOM should be ReactDOM
  2. You are returning your JSX incorrectly , either enclose the JSX in parentheses after return, or all together get rid of the {} and let the arrow function implicitly return the JSX element.
3 Likes