Tweet Button does not work

Tweet Button does not work
0

#1

Hello All,

I have a problem with my tweet button - it just doesn’t pass a quote in. Could you please review what might be the problem?

My Qoute Machine


#2

First, you misspelled quote on line #14. Second, you need to move tweetQuote variable inside the event handler before window.open, so you get the text content when you click on the tweet button, not when you load the page.


#3

Thank you! it works perfectly now! :slight_smile: