How do I change the color of a text inside a button using code?

Please how do I change the color of the text in a button using an onclick event?

Please review this post. Change the Text Color On Click | Velo by Wix