Having trouble with Twitter button


#1

See the Pen Random Quote by Eldar (@eldarm) on CodePen.

here is my code, cannot send quotes, to twitter edit f


#2

Well, first of all, try adding first a target="_blank" to your link.

But I reckon you should try using the twitter widget as a function and not as a simple link, because you’re supose to get the random quote and automatically paste it into the twitter text field when the button is clicked.