6.2 ProgrammingWithFunctions
6.2 ProgrammingWithFunctions
Your Goal: Write the code to make the Quote Maker App work without errors.
Step 2 - Plan
Variables: Fill in the table below for each variable you'll need to create.
Variable Name What the Variable Stores
fontFamily
Functions: Consider what should be included in a function that updates the screen. Write out your plan below.
Things to think about:
● What elements on the screen need to be updated using the variables above?
● Does the conditional above belong in the function? Why or why not?
● When will the function be called?
● Review the updateScreen() Pattern to help you plan your function.
Inputs: What are the inputs for the app? These will all be turned into onEvents.
"quoteInput" input The text on the screen appears, one character at a time as it's typed.
"fontFamilyInput" change
Step 4 - Submit
Before you submit, test your app again to be sure it is working correctly with no errors. Check the rubric in the
assignment to make sure your program will earn as many points as possible.
When you're satisfied with your app, submit this assignment.