STEP 5: Now let's ask the user for a new color of their choice.

NOTE: The Ask block opens up a text box in which the user can type input for the program.

  • Go to and drag in Ask to the bottom of your program.
  • Change the text inside the ask() command to "What color is this part of the flag?"

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)