What is the purpose of event handler parameters?
For the App with the following blocks:
What color will button
Button1
be afterButton1
is pressed?What color will button
Button2
be afterButton1
is pressed?What color will button
Button1
be afterButton1
followed byButton2
is pressed?What color will button
Button2
be afterButton1
followed byButton2
is pressed?
Create an app that has two buttons with two different backgound colors. Pressing one of the buttons should swap the background color of the two buttons. Pressing the other button should put the background color of the two buttons back to the original colors.