React - Render HTML Elements to the DOM

Tell us what’s happening:

I have done what I’m supposed to by following the steps provided but no matter what I do, this is the results I’m geting:

  1. The provided JSX element should render to the DOM node with id challenge-node.
    // tests completed
    // console output
    Uncaught ReferenceError: ReactDom is not defined
    [TypeError: Cannot read properties of undefined (reading ‘innerHTML’)]

Your code so far

const JSX = (
  <div>
    <h1>Hello World</h1>
    <p>Lets render this to the DOM</p>
  </div>
);
// Add your 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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36

Challenge Information:

React - Render HTML Elements to the DOM

rememebr, capitalization matters

Thank you for pointing that out. I didn’t realise I made that mistake