Step 6. If/Else Statements

This lesson introduces the idea of "if" statements in programming.

Play the lesson and do Exercise 6.1 described in it. Try inserting the following instruction:

  if ( runner == "thieves" ) { jump(); } 
Insert more "if" statements.

Lesson

6. If/Else State...
JavaScript If/Else Statements

World

jump/duck/hide
if/else lesson