STEP 5: Let's add another variable to store our friend's favorite color.

  • Click LOGIC and go to .
  • Drag out String Variable. Drop it at the bottom of your program.
  • Change the name of the string variable from my_var to fav_color.
  • Change the value of the string variable from "This is a string." to "orange".

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)