how i got https://cursoreffects.com/ to work

first, upload the script to your file directory by making a new file like "cursoreffect.js" and pasting the source js code there. then you'll include the script in your html head tags by using this:
<script src="your/path/to/cursoreffect.js"></script>
make another new document in your files, "pagename.js". in there just add "new cursoreffect();"
then put that in your head tags as well by using:
<script async src="./pagename.js"></script>