React on codepen

Hi, I’m new to React and I want to test a small code on code-pen but I couldn’t figure out how.
I added the external scripts for React and ReactDOM also the render method for ReactDOM but I m missing something.
link to the Pen React test

Add babel to compile jsx to js

settings-> JS->JavaScript Preprocessor-> Babel


Thank you very much, appreciate your time!

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.