Random Quote machine, need your feedback!

Hi there. I just finished my random quote machine using HTML, CSS and JavaScript.
Here is the link: https://codepen.io/robinlutterveld/pen/WLqLRg
As you might see I have a lot of duplicated code,I simply did not know how to make it work otherwise. Also you need to click the button for a new quote before you can tweet it. I’m really having a hard time with the scope…

As I’m totally new to JavaScript, all the feedback is welcome!