# ReactDOM is not defined error

**URL:** https://forum.kirupa.com/t/reactdom-is-not-defined-error/639449
**Category:** Uncategorized
**Created:** [March 1, 2019, 6:19am UTC](https://forum.kirupa.com/t/reactdom-is-not-defined-error/639449 "2019-03-01T06:19:19Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![cynonymous](https://avatars.discourse-cdn.com/v4/letter/c/8e7dd6/32.png) [@cynonymous](https://forum.kirupa.com/u/cynonymous)
#### Post date: [March 1, 2019, 6:19am UTC](https://forum.kirupa.com/t/reactdom-is-not-defined-error/639449/1 "2019-03-01T06:19:19Z")

</div>

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:

 ![image](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/2X/3/32af88259475361647d4f4b04a00d9989f25ef46.png)  
Please let me know.  
Thanks.

---

<div class="post-metadata">

### Author: ![kirupa](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kirupa/32/11616_2.png) [@kirupa](https://forum.kirupa.com/u/kirupa)
#### Post date: [March 1, 2019, 11:12pm UTC](https://forum.kirupa.com/t/reactdom-is-not-defined-error/639449/2 "2019-03-01T23:12:40Z")

</div>

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

```
<script src="https://unpkg.com/react@16/umd/react.development.js"></script>
<script src="https://unpkg.com/react-dom@16/umd/react-dom.development.js"></script>
<script src="https://unpkg.com/babel-standalone@6.15.0/babel.min.js"></script>
```

---

<div class="post-metadata">

### Author: ![cynonymous](https://avatars.discourse-cdn.com/v4/letter/c/8e7dd6/32.png) [@cynonymous](https://forum.kirupa.com/u/cynonymous)
#### Post date: [March 2, 2019, 2:46am UTC](https://forum.kirupa.com/t/reactdom-is-not-defined-error/639449/3 "2019-03-02T02:46:31Z")

</div>

Thanks!
