Not sure where the code broke, hoping someone can find something that sticks out. I gave all of the palette elements a div tag of #cpalettes but the only element that receiv