STEP 2: Let's get the first word for our Code Lib program from the user!

  • Go to and drag out Ask. Drop it at the bottom of your program.

A user is someone who will use the program that you build. User Input is whatever the user types in a text window.

The text the user enters is stored in the variable called choice. We call this an input variable.

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)