CHALLENGE 8: Help the sprite learn your name! Use an ask command so the sprite can take in user input.

  • Go to and drag out Ask.
  • Make sure the .ask() is BEFORE the .say() command.
  • Change choice to name.
  • Change the string "Yes or no?" to "What's your name?".

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)