# How to test various sketches in nested folders

**URL:** <https://discourse.processing.org/t/how-to-test-various-sketches-in-nested-folders/27323>\
**Category:** Beginners\
**Created:** [January 24, 2021, 1:54am UTC](https://discourse.processing.org/t/how-to-test-various-sketches-in-nested-folders/27323 "2021-01-24T01:54:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![skypickle](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/skypickle/32/11863_2.png) [@skypickle](https://discourse.processing.org/u/skypickle)\
**Post date:** [January 24, 2021, 1:54am UTC](https://discourse.processing.org/t/how-to-test-various-sketches-in-nested-folders/27323/1 "2021-01-24T01:54:18Z")

</div>

I use browser sync and sublime text to test my sketches.  
In a folder named project, I have:  
the index.html file (that refers to sketch.js)  
the sketch.js file  
the p5 folder.

I subsequently made a modification to index and saved it in a folder named draft inside of project.  
I made a modification to sketch.js and saved it also in the draft folder  
I changed these lines in index.html

```auto
    <script src="p5/p5.js"></script>
    <script src="p5/addons/p5.dom.js"></script>

```

to

```auto
    <script src="../p5/p5.js"></script>
    <script src="../p5/addons/p5.dom.js"></script>

```

because I did not want to duplicate p5.  
Unfortunately, nothing renders.  
How can I refer to the enclosing folder in a windows path in a way that p5 understands?

---

<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:** [January 24, 2021, 2:36am UTC](https://discourse.processing.org/t/how-to-test-various-sketches-in-nested-folders/27323/2 "2021-01-24T02:36:29Z")

</div>

The location of the “.html” file is considered the root folder.

We can’t go upper the root folder, but we can go lower into its subfolders.
