I want to create and submit transaction using Vanilla JS from cardano-wallet connect

I want to create a transaction using Vanilla JS from cardano-wallet connect. Upon click of a button a transaction should be submitted and the user will sign the transaction using his dApp wallet connected.

My whole website is built upon PHP, jQuery and Vanilla JavaScript. I have acheived wallet connect functionality and reading balance and UTXOs. I want to now achieve submit transaction. I’ve seen so many examples but all are in react js or Nuxt js. I want to achieve this in Vanilla JS.

Please help me figure this out.

Thanks