# Brackets live preview generates a 404

**URL:** <https://discourse.processing.org/t/brackets-live-preview-generates-a-404/38042>\
**Category:** Beginners\
**Created:** [July 21, 2022, 2:52am UTC](https://discourse.processing.org/t/brackets-live-preview-generates-a-404/38042 "2022-07-21T02:52:56Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [July 21, 2022, 8:38pm UTC](https://discourse.processing.org/t/brackets-live-preview-generates-a-404/38042/3 "2022-07-21T20:38:50Z")

</div>

> [@berndbausch](#):
>
> Is the “p5.js”" file not found? But why - it’s there!

- That file is located above the root folder.
- Root folder is the 1 containing your “index.html” file.
- I prefer getting the “p5.js” file via CDN btW:

> [@Sketch is displayed twice inside my index.html page](https://discourse.processing.org/t/sketch-is-displayed-twice-inside-my-index-html-page/15335/9):
>
> My advice is to begin w/ a minimum runnable “index.html” template file like this 1: bulb \<script defer src=https://Unpkg.com/p5\>\</script\> \<script defer src=sketch.js\>\</script\> Once verified it’s working, you can add more stuff to it little by little. sunglasses Here’s some online sketch using this very same minimum template: smile_cat

---

_[View the full topic](https://discourse.processing.org/t/brackets-live-preview-generates-a-404/38042)._
