I can't implement this codepen - scrollable slider code into my webflow site

I want to recreate this functionality in my webflow site i found on codepen, but I can’t make it work:

I have tried pasting everything in a custom code element in the page (first css- html - javascript) and also recreating the divs by hand and adding the javascript to the custom code area of the page settings. neither is working.

here is my site read-only: Webflow - officeatwork2023

Any help is appreciated