Wix Velo doesn't allow access to the DOM

I am not familiar with what you are using, but you can look into creating a web component or placing your code in an iFrame

https://support.wix.com/en/article/velo-about-custom-elements

https://support.wix.com/en/article/velo-working-with-the-html-iframe-element