JUst started react:
I dont know whAT HAPPENING IT keep say React Dom is not defined.
Just started leaning React
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(JSX,document.getElementById('challenge-node'));
Notice that there is a difference between ReactDom and ReactDOM. It’s supposed to be the latter. “DOM” is an acronym so it should be in all capitals (Yes, I know libraries aren’t always consistent with this.)
React is confusing. Keep at it, it’s worth it. But expect a lot of confusion before it starts falling into place.