# Can I use multiple p5.js on my website..?

**URL:** <https://discourse.processing.org/t/can-i-use-multiple-p5-js-on-my-website/16522>\
**Category:** Coding Questions\
**Created:** [December 19, 2019, 5:41pm UTC](https://discourse.processing.org/t/can-i-use-multiple-p5-js-on-my-website/16522 "2019-12-19T17:41:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sejin.OH](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@Sejin.OH](https://discourse.processing.org/u/Sejin.OH)\
**Post date:** [December 19, 2019, 5:41pm UTC](https://discourse.processing.org/t/can-i-use-multiple-p5-js-on-my-website/16522/1 "2019-12-19T17:41:55Z")

</div>

Hello, I have a website where I want to use my portfolio… but I tried my work(p5.js) with a script on my website but couldn’t succeed more than one. Is there a way to upload multiple p5.js in html differently? Thanks for every reply.

---

<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:** [December 22, 2019, 1:43pm UTC](https://discourse.processing.org/t/can-i-use-multiple-p5-js-on-my-website/16522/2 "2019-12-22T13:43:28Z")

</div>

> [@Instance mode creating two canvas](https://discourse.processing.org/t/instance-mode-creating-two-canvas/14121/7):
>
> You could simply use global mode! globe_with_meridians If you need to have more than 1 sketch in the same page you can place the others within their own \<iframe\>. bulb[Bl.ocks.org/GoSubRoutine/raw/60b154e52336f7fee7c5f1fe817ceb22/](http://Bl.ocks.org/GoSubRoutine/raw/60b154e52336f7fee7c5f1fe817ceb22/)

[GoSubRoutine.GitHub.io/Ball-in-the-Chamber](http://GoSubRoutine.GitHub.io/Ball-in-the-Chamber)

> **[GitHub - GoSubRoutine/Ball-in-the-Chamber: JS Native Modules coded in TS...](https://github.com/GoSubRoutine/Ball-in-the-Chamber)**
>
> JS Native Modules coded in TS & CS. Contribute to GoSubRoutine/Ball-in-the-Chamber development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![Sejin.OH](https://avatars.discourse-cdn.com/v4/letter/s/eb9ed0/32.png) [@Sejin.OH](https://discourse.processing.org/u/Sejin.OH)\
**Post date:** [December 29, 2019, 4:29pm UTC](https://discourse.processing.org/t/can-i-use-multiple-p5-js-on-my-website/16522/3 "2019-12-29T16:29:21Z")

</div>

Thank you for your sincere reply!😊 I’ll try the way you told me!
