• The ‘onEvent’ clicked button. ->
    • U4Ch1L7:What is Your Sleep Profile?
      • Open this lesson – Look at Line 7.  The onEvent triggers a button that begins the retrieval of values for the variables and the If/Else sequence.
  • The Input String/text dropdown menu.->
    • U4Ch1L7:The Music Input Quiz?
      • Open this lesson – Look at Line 11 where Text is entered by the user and this line of code retrieves (‘getText’) the ‘String’ and the variable now has a value.
  • The Input Number dropdown menu. ->
    • U4Ch1L7:What is Your Sleep Profile?
      • Open this lesson – Look at Line 9 & 10, where a number is entered by the user and this line of code retrieves (‘getNumber’) the ‘Number and the variable now has a value.)
  • The Discount Entry Form Field.
    • U4Ch1L7:What is Your Sleep Profile?
      • Open this lesson – Look at Line 16 where If a String equals another String. You can edit this line of code to match the “discountCode” = = the code that is entered by the User.
  • The output screen ->
    • U4Ch1L7:What is Your Sleep Profile?
      • Open this lesson – Look at Line 17, 20, 23, & 26.  Each one of these lines of code shows the screen’s ‘id’ that is referenced (“profileOutput”) followed by the text that will appear on the screen.