STEP 16: Let's set up the text that will run at the end of the game.

We'll create an empty text box for now. Later, we'll fill it in with an end-of-game message!

  • Go to and drag Text to the bottom of your program.
  • Change the name to result_text.
  • Delete the default string of text so that you have an empty string, like this: (" ").

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)