See the Pen Random Quote Machine by Ashwin Gurbuxani (@gurbuxani) on CodePen.
Hello! Please be honest
I also want to add functionality where the User can click a button and have the quote copied to their clipboard. The button should change to read copied on click, and fade back to its original state in a few seconds. Can you help?
Full page link - https://codepen.io/gurbuxani/full/NgmpqP/
If you try to tweet quote with special symbols in it (like ;) it gets cut off at that symbol. Check this: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent
;
Also what is the point of this?:
//Initialise local variables that contain the quote and author var tweetQ=q; var tweetA=a;