Random quote challenge - share on twitter and tumblr with jquery?

Hi, i’m stuck with my random quote challenge, I don’t understand how to do with sharing quote and autor. What methods do I have to use ?

thanks for your answers

here is my random quote machine https://codepen.io/remyp/pen/eedGVz

You need to add click event handlers similar to the way you added a click event handler for the button with id=“getExpression”. Then you could open a new window using JavaScript in order to link to the applicable Twitter or Tumbler url. Each button will need a click event handler.

1 Like

Thanks Randell, I’ll try to do it but what method do i have to use to copy my quote and past it on the twitter sharing window (for example) ?

thanks a lot for your help