Tell us what’s happening:
I am getting following error message
The provided JSX element should render to the DOM node with id challenge-node.
the code syntax is correct.Kindly help
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(React.createElement("JSX"),
document.getElementById("challenge-node"));
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
.
Link to the challenge: