I recently came back to freeCodeCamp after taking quite a while off. My CSS and HTML are a bit rusty (I’m particularly struggling with sizing and centering), but React in particular was brand new to me. I just finished the Drum Kit project and really enjoyed building it! I found React to be very logical and am looking forward to building the rest of the React projects in the coming days. However, I want to be sure that I’m following “best practices” before I continue on.
Any feedback is welcomed! Thank you so much.
https://codepen.io/texdiego/pen/dEMKJB?editors=0010
Edit: In particular, I’m curious if my React code is written well, or if there are ways it should be refactored. For example, I feel like I ended up passing in a LOT of props into the nested components like the display panel and the drum kit pads. I’m not sure if there’s a more elegant way of handling 6+ props or if I’m doing it right.