# Sketch is displayed twice inside my index.html page

**URL:** <https://discourse.processing.org/t/sketch-is-displayed-twice-inside-my-index-html-page/15335>\
**Category:** Beginners\
**Created:** [November 8, 2019, 2:29pm UTC](https://discourse.processing.org/t/sketch-is-displayed-twice-inside-my-index-html-page/15335 "2019-11-08T14:29:14Z")\
**Posts on this page:** 1\
**Showing post:** 9

<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:** [November 8, 2019, 3:23pm UTC](https://discourse.processing.org/t/sketch-is-displayed-twice-inside-my-index-html-page/15335/9 "2019-11-08T15:23:21Z")

</div>

My advice is to begin w/ a minimum runnable “index.html” template file like this 1: 💡

```auto
<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. 🕶

Here’s some online sketch using this very same minimum template: 😸

> **[preload-image-masks](https://glitch.com/~preload-image-masks)**
>
> Preload Image + Mask. Then clone the original. 🎏 Glitch is the friendly community where everyone can discover & create the best apps on the web.

---

_[View the full topic](https://discourse.processing.org/t/sketch-is-displayed-twice-inside-my-index-html-page/15335)._
