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

  • Change the string in the .ask() command to "Where do you want to go, the beach or the moon?"

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)