Buttons and input boxes

I am not really sure how buttons and input boxes functions work. I know for each button you have to create a function but I don’t know how to make them work. If someone can give a simple example of a button that changes the BG color or an input box that displays the text entered.

here

1 Like

I’ve got a multiple button example here: