Render HTML Elements to the DOM1

Tell us what’s happening:

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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36.

Link to the challenge:

getElementById does not start with capital ‘G’ :slight_smile:

hahahahaha it was a late night thanks so much

1 Like