Streaming live at 10am (PST)

Javascript for multiple elements.. (particles.js)

hello :slight_smile:

i’m using the particles.js on my website - pretty cool.
bu now i’m trying to assign it to multiple elements on my page. dont know how…

i tried to use the same ID on multiple elements but it only works for the element that is the first one. all the following elements dont get effected.

so i tried to set more than one ID on the custom code, but i’m really bad in code. i think i’m doing it wrong.

could somebody please tell me how to set multiple ID’s on this code so that i can attache it to multiple elements.

or any other way to make this work.

(see my link. and the custom code there. i want to effect the circles. the first one is working. the second one not.)

thanks so much.

Here is my site Read-Only: