STEP 3: Now we'll ask the player where they want to go on their adventure!

  • From , drag out Ask. Drop it at the bottom of your program.
  • Change the string in the .ask() command to "Where do you want to go, the beach or the moon?"
  • Click Run to see your changes and Submit and Next to continue.

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)