Today we started one of our final units on building apps. We begin by looking at buttons & Events.We discussed the following terms:
User Interface (UI) – The “User Interface” or UI of an app refers to how a person (user) interacts with the computer or app.
UI Elements or objects, like buttons, images, text boxes, pull down menus, screens and so on.
UI Events or controls, like click, scroll, move mouse, type keyboard key, etc.
Event-driven program – a program designed to run blocks of code or functions in response to specified events (e.g. a mouse click)
Event handling – an overarching term for the coding tasks involved in making your app respond to events by triggering functions.
Event listener – a command (onEvent in App Lab) that can be set up to trigger a function when a particular type of event occurs on a particular UI element.
Callback function – a function specified as part of an event listener; it is written by the programmer but called by the system as the result of an event trigger.
FOR HOMEWORK: Please finish questions 4-23 on code.org, Unit 5 Lesson 1 (Buttons & Events)