Random Quote Machine (React)

I have built my very first React app! (With CodePen, yes, but everyone needs to start somewhere). I would really appreciate any feedback, positive or constructive. :slight_smile:

It is completely built with React, including most of the CSS (I got lazy with the Twitter button and use the stylesheet for that).

Most of the data is stored in the state of the Wrapper component, which passes a random quote + author, and color to the necessary components as props.

I would specifically like feedback on the flow of data and how I have handled the styling if anyone is willing to take the time to read through my code.

1 Like

They look amazing :slight_smile:

1 Like

Hey there,

looking good!

Some ideas:

  • you can move the logic of the random generator into a separate function and reuse it


Good idea. I’ll try it out.