Need help with Random Quote Machine

Hey! So I’ve finally arrived at the random quote machine project and I’m trying to use an API, but whenever I click either the “get quote” and “tweet this” buttons, nothing happens?

Here’s a link to my pen:

Any help would be much appreciated!!

From the inspector I can see that the response comes as an object with:
quoteAuthor, quoteText, quoteLink; however in your app you are trying to read:
author and text keys from the object.

Probably that’s the reason your app prints undefined on the screen.

As for tweet, have you actually added the Tweeter API script to load web intent?

<script type="text/javascript" async src="https://platform.twitter.com/widgets.js"></script>

More info on tweet-intent documentation