ReactDOM is not defined error

Tell us what’s happening:

I can’t pass any of react practice.
Every time I got error that ReactDOM is not defined.

Uncaught ReferenceError: ReactDOM is not defined

Can you help me?

Your code so far


const MyComponent = function() {
// change code below this line
return(
  <div>Completed challenge!</div>
);

// change code above this line
}

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.117 Safari/537.36.

Challenge: Create a Stateless Functional Component

Link to the challenge:
https://www.freecodecamp.org/learn/front-end-libraries/react/create-a-stateless-functional-component

Weird it passes with me. Try switching to chrome or safari

Please try again and let us know if this was fixed for you. There was a CSP issue but last I checked it was working again.

Yeah, now works everything.

Tnx