Random Quote Machine with React

I just made the quote project using react would love some feedback.
Site on github pages

And I have a general question about one of the user stories it asks for

This a element should include the “twitter.com/intent/tweet” path in it’s href attribute to tweet the current quote.

But doing this makes add /twitter.com/intent/tweet to the end of the url everytime you click it. Why is this needed why can’t it just be a button?