Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
const JSX = (
<div>
<h1>Hello World</h1>
<p>Lets render this to the DOM</p>
ReactDom.render(JSX,getElementById("challenge-node"));
</div>
);
// Change code below this line
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36
There are a few issues so I would reset the lesson.
The first one is that you didn’t follow directions on where to write your code.
That part is pretty important.
Once you write it in the correct spot then there are a couple more errors .
The instructions say this
The code editor has a simple JSX component. Use the ReactDOM.render() method to render this component to the page.
But you wrote this which is incorrect
Also, the instructions say this
You can pass defined JSX elements directly in as the first argument and use document.getElementById() to select the DOM node
But you wrote this instead which is incorrect
When going through these exercises pay close attention to the instructions