Just completed Random Quote Machine. Would love some feedback

I have tried to keep it simple. Hopefully, it resonates with the purpose of the page. Here is the link to my pen. I would love your feedback. Thanks.

Slight problem with tweeting. The author when I tweet is NaN.

I have made the change so that it works in codepen.io. For some reason it works differently on codepen and my local machine. Sorry.

Looks good, only one bug - can’t tweet quotes containing ; or %.
Look into encodeURIComponent().

using encodeURIcomponent() in codepen.io breaks the link

I just checked and it seems that you are using encodeURIcomponent() now and everything works fine.