Codepen js not running

webflow project i’m trying to put together:

https://preview.webflow.com/preview/rcs-circuit-board-test?utm_source=rcs-circuit-board-test&preview=ba6b95721881bd15e1cc15bcb11dade6&mode=preview

tried to use this pen:

got the html working (had to put it on s3 since it’s so big)

pasted the js in the but it’s not running.

any ideas on why the js isn’t running?