Random Quote Generator Twitter

Hello guys, I am creating a random quote generator app.
My app is working fine when I run it on the browser, but when I run it on the codepen, twitter and facebook links are not working.

Here is my codepen link https://codepen.io/rds8896/full/mxPdvp/

and my github link https://github.com/rds8896/randomQuotes/

Thanks in advance

Hi, your code seems to be working fine. I ran it on codepen and there was no error. The twitter and facebook links worked well. Have you tried it with a different browser?

Thanks for your help,
It was not working on chrome browser, but after your message, I tried it on firefox and it is working fine