STEP 5: Let's use an index to get the first value from head_list.

Our command will store the first value, index [0], in the list, so head_image is now storing "head1".

  • Go to and drag Get Value at Index to the bottom of your program.
  • Change the variable name to head_image.
  • Change the list name to head_list.

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)