Accessible Apps, Part 2 Problems
Create a Switch: User Interface
Build a light switch application using the template code in the tray. A working app will run and display a page. The page should have one label named "light" displaying the word "Off" and a button labeled "Switch". In addition, each interface element should be saved as a variable as seen in the template blocks.
Coding:
Hint
Great job!
Try again
First, drag over the use blocks. Then, create the label object on the page and save it as a variable. Name the variable and set the parameters for the add label calls to "light" and "Off" Finally, create a button on the page and save it as a variable.
