# Making a Class; web editor vs local

**URL:** <https://discourse.processing.org/t/making-a-class-web-editor-vs-local/11014>\
**Category:** Coding Questions\
**Created:** [May 7, 2019, 9:40pm UTC](https://discourse.processing.org/t/making-a-class-web-editor-vs-local/11014 "2019-05-07T21:40:23Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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:** [May 8, 2019, 1:10am UTC](https://discourse.processing.org/t/making-a-class-web-editor-vs-local/11014/5 "2019-05-08T01:10:35Z")

</div>

> [@Rolembeek](#):
>
> I only realize that in fact it IS working in my browser and NOT in local.

What do you exactly mean by local?  
RU trying to use the “file:://” scheme on a Chrome-based browser by any chance?

> [@Code 800A0404 issue](https://discourse.processing.org/t/code-800a0404-issue/2036/3):
>
> Easiest & fastest recipe to run “.js” sketches under p5.js: running_man Install any Firefox-based browser in your OS and use it to open your “index.html” file: fox_faceInstall Notepad2 or Notepad++ (or both) in your OS and use it to type in your “sketch.js” file there: scroll[https://XhmikosR.GitHub.io/notepad2-mod/](https://XhmikosR.GitHub.io/notepad2-mod/)[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. bulbHere’s my minimum “index.html” te…

> [@Cannot Create Classes](https://discourse.processing.org/t/cannot-create-classes/8756/17):
>
> AFAIK, Firefox-based browsers treat the file:// URL scheme the same way as the http:// URL scheme. fox_face Thus far I haven’t found any issues at all when running Processing sketches on Firefox under its file:// URL scheme. partying_face Firefox-based browsers use the Gecko Spidermonkey JS engine. spider But if we prefer/need to test JS on the Chrome’s Blink V8 engine instead, we can use the Vivaldi browser: musical_score Similarly to Firefox, Vivaldi doesn’t restrict the file:// …

---

_[View the full topic](https://discourse.processing.org/t/making-a-class-web-editor-vs-local/11014)._
