I’m currently working on random quote machine, I almost finished, but I dont know how to add functionality to tweet button. If you have any other suggestions please comment.
Have you tried consulting Twitter’s API documentation? This should get you started.
I forked your project on Codepen.
Try getting the text value of the quote container. As @PortableStick has said, refer to Twitter’s API documentation on how you would put that text value in a tweet.