So I have everything I need for the random quote machine to work, but I can’t seem to figure out how to get the tweet button to work. The closest I’ve gotten is getting the twitter window to open, the text to populate with a string I have set, but the index of my array shows up instead of the quote text. It’s rather frustrating.
Any ideas? I know I’m close, I just don’t stuck at the moment.
Here’s my codepen: http://codepen.io/Qwicksilver/pen/xOjPdx