2.5 Class: App Lab PRIMM Challenge: Variables and Properties

How do developers build apps to meet the needs of users?

Welcome App for PRIMM Links to an external site.

Predict: Reason about the code before running it.

  • Read the code aloud.
  • What do you think running the program will look like? 

Run: Test the program as a user.

  • Was your prediction correct?

Investigate: WHY does it work? Poke it to find out. 

  • Does it matter what the variable is called?
  • What if I change the id name of screen2? 
  • Why are empty quotes needed on line 6? Can't I just check if the name is blank?

Modify: Make specific changes with a goal in mind.

  • Add end punctuation on the message.
  • Make the computer speak the message out loud.

Make: Create a new artifact based on what you learned.

  • Make an app that gives users affirmations based on their mood.
  • You can start a new app or keep going with the starter project.
  • Input: select or type in a mood; optionally enter a name with text
  • Output: spoken or written words of affirmation; optional inspirational images