STEP 3: Let's add a second question.

It's OK to type the string in one line, even if you can't see it all in the editor at the same time.

  • Drag another String Variable to the bottom of your program.
  • Change the name to ques_2.
  • Question 2 is written in your planner. Change ques_2's value to the question and choices listed there.

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)