Id & attributes - call js function on click

The code works fine (Run function on click). I even use your code (On click the popup open)

https://codepen.io/ezra_siton/pen/NoNEKj

Maybe on webflow you put the code in wrong spot.