ReactDOM.render(
const JSX = (
<div>
<h1>Hello World</h1>
<p>Lets render this to the DOM</p>
</div>
document.getElementBy('challenge-node')
);
// 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/86.0.4240.193 Safari/537.36.
Reviewing the challenge description it states that:
ReactDOM.render(componentToRender, targetNode) , where the first argument is the React element or component that you want to render, and the second argument is the DOM node that you want to render the component to.
So you need two arguments to pass to that function.
In your case you have a const declaration followed by the getElement statement, but no comma to separate those arguments.