Render HTML Element

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 = (
    <h1>Hello World</h1>
    <p>Lets render this to the DOM</p>
// change code below this line

You’ve made a simple mistake:


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.

Thanks Kevin, I got Punch in the face with that little mistake:rofl: