This project was bootstrapped with Create React App.
This is simple Random Quote Generator from freeCodeCamp.org projects - refactored so it uses ReactJS.
Solution used here is quite simple - I am providing fixed arrays of quotes and color values. After clicking New Quote button app uses
Math.floor(Math.random() * array.length);
to randomly select index of quote and color value in those arrays. Then it smoothly transfers from old values to new ones. Transitions are defined inside CSS.