STEP 15: Let's make it so that the mouth opens and closes each time we click it!

A command is indented inside an event if has 4 spaces or 1 tab and has a ····¬ in front of it.

  • Find the .say("Hello, name") indented inside the click event and change name to your name!
  • From , drag Set Height inside the click event (underneath # add other actions...).
  • All code inside the event should have a ····¬ in front of it too!

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)