Rendering a component to the DOM

Tell us what’s happening:
Hi, I was hoping somebody could help me out.
The code doesn’t work, and don’t see why shouldn’t it.

Your code so far


I also tried to render it as a JSX element , not a component (without < />), to no avail…


const JSX = (
  <div>
    <h1>Hello World</h1>
    <p>Let's render this to the DOM</p>
  </div>
);


ReactDOM.render(<JSX />,document.getElementById('challenge-node'));


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36.

Link to the challenge:

Get rid of the apostrophe (’) in ‘Let’s’ for the paragraph element.

And render it without the < />.

when I do, I get the very same error.