Render HTML Elements to the DOM not defined

Render HTML Elements to the DOM not defined
0

#1

Tell us what’s happening:
I’m getting an error message of:
ReactDom is not defined

Anyone know why?

Your code so far


const JSX = (
  <div>
    <h1>Hello World</h1>
    <p>Lets render this to the DOM</p>
  </div>
);
// change code below this line
ReactDom.render(JSX, document.getElementById('challenge-node'));

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:62.0) Gecko/20100101 Firefox/62.0.

Link to the challenge:
https://learn.freecodecamp.org/front-end-libraries/react/render-html-elements-to-the-dom


#2

It should be

ReactDOM


#3

thanks!! silly typo on my part. Sometimes these things stare you right in the face and you still can’t see them. Thanks again.