ReactDOM is not defined error


#1

Hello I am working through “Learn React”. On the css style chapter I received a “ReactDOM is not defined” error. I opened the page from the source code obtained from git and also received several errors. What can I do to correct this? Here is a screenshot:


Please let me know.
Thanks.


#2

It looks like unpkg changed their URL structure. Here is the correct files to include at the top:

<script src="https://unpkg.com/[email protected]/umd/react.development.js"></script>
<script src="https://unpkg.com/[email protected]/umd/react-dom.development.js"></script>
<script src="https://unpkg.com/[email protected]/babel.min.js"></script>

#3

Thanks!