A 💡 random quote machine 💡 built with React as part of the FreeCodeCamp Front-end certification. The specification page can be found here: random Quote Machine.
Clone the repo git clone https://github.com/MattLdwig/FreeCodeCamp_Random-Quotes-and-Colors
Install dependencies npm install
Start with npm start
and open http://localhost:3000 to view it in the browser.
All quotes are contained in an array in the app's state. Same for all the colours 🎨 used as backgrounds.
When you click on the button Inspire Me
or press the space key on your keyboard, a random quote and a random color are selected and displayed on the screen.
The computation of the complementary colors is done by the color.js library.
This application was made with Create React App and licensed as MIT.