So I am working on the random quote machine project and I am running into this issue where when I click the twitter icon to attempt and tweet the quote, it pulls up the original text of the paragraph instead of the new quote. On top of that I have a
in the quotes to separate the author from the quote and when you tweet the quote is shows the
symbol in there with the quote. I have tried to change the tweet quote variable to match my function but it just makes it either pull up an empty twitter page, or nothing at all. What can I do to fix this?
Here is a link to the code pen (keep in mind some of the quotes are a little NSFW):
Please feel free to look at the code to see what I am doing wrong. I am still new to all of this as I have only been coding for a week or so. Any help would be much appreciated.