# Code 800A0404 issue

**URL:** <https://discourse.processing.org/t/code-800a0404-issue/2036>\
**Category:** Beginners\
**Created:** [July 24, 2018, 1:01am UTC](https://discourse.processing.org/t/code-800a0404-issue/2036 "2018-07-24T01:01:43Z")\
**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 24, 2018, 5:08am UTC](https://discourse.processing.org/t/code-800a0404-issue/2036/3 "2018-07-24T05:08:08Z")

</div>

Easiest & fastest recipe to run “.js” sketches under p5.js: 🏃‍♂️

- Install any Firefox-based browser in your OS and use it to open your “index.html” file: 🦊

> **[Mozilla Firefox Web Browser — Download Developer Edition in your language](https://www.mozilla.org/en-US/firefox/developer/all/)**
>
> Download Developer Edition in your language to experience the newest features and innovations in an unstable environment even before they go to Beta. Give us feedback that will determine what makes it to Final Release and help shape the future of...

- Install Notepad2 or Notepad++ (or both) in your OS and use it to type in your “sketch.js” file there: 📜

1. [https://XhmikosR.GitHub.io/notepad2-mod/](https://XhmikosR.GitHub.io/notepad2-mod/)
2. [https://Notepad-Plus-Plus.org](https://Notepad-Plus-Plus.org)

- You can setup those text editors to use UTF-8 and LF line endings for better compatibility. 💡
- Here’s my minimum “index.html” template file which can run most “sketch.js” files out there: ⏯

```auto
<!DOCTYPE html>

<meta charset=utf-8>
<meta name=viewport content=width=device-width,initial-scale=1>

<script defer src=https://cdn.JsDelivr.net/npm/p5></script>
<script defer src=https://cdn.JsDelivr.net/npm/p5/lib/addons/p5.dom.min.js></script>

<script defer src=sketch.js></script>

```

- Now you can create a folder and place both “index.html” & “sketch.js” files inside it. 📁
- W/ Firefox opened, drag & drop the “index.html” file into it. 🖱
- It should automatically run your “sketch.js” code there.
- Otherwise, if there’s anything wrong in your code, hit the F12 key or the key combo CTRL + SHIFT + J in order to open the browser’s console, and check for any error messages there.

Here’s some p5.js sketch running online w/ both “index.html” über minimum file & the “sketch.js” code file: 😸

> **[Ball in the Chamber](http://Bl.ocks.org/GoSubRoutine/d0b7d3058d84970e83cf8685f8e69777)**
>
> GoSubRoutine’s Block d0b7d3058d84970e83cf8685f8e69777

---

_[View the full topic](https://discourse.processing.org/t/code-800a0404-issue/2036)._
