/randomQuote

Generate a random (famous) quote at the click of a button and share it on Twitter.

Primary LanguageJavaScript

randomQuote

Generate a random (famous) quote at the click of a button and share it on Twitter.

add to favorites

if a quote appeals to you - you can save it to a favorites list by clicking on the heart icon - this will save the quote to the local storage. By clicking on the "favorites" button, your favorite quotes list will be displayed, and you can remove quotes that you no longer wish to have in that favorites list - just click on the red heart icon before that quote.

API used for list of quotes: https://type.fit/api/quotes

twitter documentation: https://developer.twitter.com/en/docs/twitter-for-websites/tweet-button/guides/web-intent