Skip to content

MattLdwig/FreeCodeCamp_Random-Quotes-and-Colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Quote Machine

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.

Live Demo

Random Quote machine presentation


Installation

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.


How it works

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.

License

This application was made with Create React App and licensed as MIT.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published