this is my Random Quote Machine so far: https://zelite.github.io/Random-Quote-Machine/
I made the twitter sharing button by appending the quote and author to this url:
https://twitter.com/intent/tweet?text=. When the user clicks there, twitter opens in a new window with a prefilled tweet.
Here is the source code: https://github.com/zelite/Random-Quote-Machine If anyone could be kind to have a look and review it =)