Can't configure a particles background

Hi. I’m following the tutorial at but struggling with where to grab the code once I’ve configured and downloaded it from . I end up with quite a few files in the download and can’t tell which one I need to grab code from?

You can click the codepen button instead of downloading the files. There you can see all the code in the JS section.

Many thanks. I gave that a try (copying the code from the JS section into the homepage before body tag) and all it gives me when published is the below:

Clearly, I’m doing something pretty stupid!

1 Like

Not stupid, just un informed :smiley:

JavaScript code should be encased with <script> at the beginning and </script> at the end.


code code code
more code

1 Like