STEP 10: Let's test if the user guessed the word correctly!

  • Go to and drag out if else INSIDE your loop.
  • Change the test value from "yes" to word.
  • Go to GRAPHICS, click on and drag out Say into the if statement.
  • Drag out another Say and drop it into the else block.

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)