Tell us what’s happening:
I dont understand how my code is not working. checking with the solution, it is the exact same thing.
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.getElemendById("challenge-node"));
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0
Challenge: React - Render HTML Elements to the DOM
Link to the challenge: