hello, first time posting here since i started a couple days ago.
I think i finally need your help.
This is my Quote Machine. Very barebones still, but got it working, mostly.
On Codepen, everything works, except the twitter-share-button. It redirects but then gets blocked (something CSP).
It works in the browser though.
Second Problem is, that the newQuoteButton does not generate a new Quote when loading the page in my browser.
Only the initial random quote on start will get displayed. Nothing happens when clicking the button. But again: on codepen it works.
I tried a lot of possibilities [ click(), attr.(“onclick”, xyz), and replacing the button tag with input or a, etc] but nothing worked for me.
And i’m pretty sure you can easily point me in the right direction.
Any help much appreciated. Cheers