Troubles setting up React

Hello!

I’m learning React and decided to open a codepen to start messing around with it. I have included the React and React-DOM scripts and select babel as a preprocessor. However, I cannot get my code to work. The “Hello World” is not rendering!

Any suggestions?

on your pen settings use the following two cdn
//unpkg.com/react-dom/umd/react-dom.development.js
//unpkg.com/react/umd/react.development.js

it should work then.

1 Like

I removed the 2 cdn links you had on the javascript section and put those 2 links in replacement. It worked for me.

1 Like

Worked for me too. Anyone know why the default link codepen provides in the search bar doesn’t work?

No, but it’s the not the first time I’ve had that issue with CodePen.

1 Like