how to add a button in my page, which on clicking post the given text in a
https://vishal-1999.github.io/randomQuoteMachine/
post on twitter
I figured it out. I was trying to put the link inside a button tag. That was the problem.