STEP 5: Let's put all of our questions into a list that we can loop through later.

Variables do not have quotes around them, but still need to be separated by commas in the list.

  • Go to and drag out Empty List.
  • Change the list name to quiz.
  • Make your list look like this: [ques_1, ques_2, ques_3, ques_4, ques_5]

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)