React - Render HTML Elements to the DOM

Tell us what’s happening:

The tests won’t finalize. Console log shows “// running tests”

const JSX = (

Hello World

Lets render this to the DOM

); // Add your code below this line ReactDOM.render(JSX, document.getElementById('challenge-node'));

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

It has been over 5 minutes. I also tried resetting the lesson but got the same thing.

I just tried changing ‘challenge-node’ to “challenge-node” and it worked. No idea why it wouldn’t accept the first answer

The code you posted passes the tests for me. There isn’t really a good reason why the type of quotes would matter. It could be that it was stuck in some kind of error state that was cleared by changing that part of the code.