Random Quote Machine
FreeCodeCampFebruary 1, 2023
The random quote generator was a coding exercise for the FreeCodeCamp. I used only React. The generator is made of a simple interface with a large text box displaying the quote and a button below it labeled "New Quote." When the user clicks the button, a new quote appeas in the text box. I used a free API to fetch the quotes. I also added a "Share it" button, which allows users to share the quote on Twitter with a single click.