I created a sketch using a change color button. I used the random feature to change to background of the sketch. I also used different variables to create the change color button as well. I used the function textColorButton to create its position and when its pressed it changes to color of the text. I also used textAlign and textFont to create my text. I did not face any challenges when creating this sketch and i hope to create some more.
https://editor.p5js.org/cfequiere@marymountnyc.org/sketches/ryiA9b4yV

Commentaires