Sometimes one IF lives INSIDE another IF. Read this carefully:
IF the door is open:
IF the dog is inside:
say 'Hi, dog!'
ELSE:
whistle for the dog
ELSE:
knock on the door What do you do at each light? Match the color to the action.
What if the light is BROKEN (not red, yellow, or green)?
Write a NEW conditional for that case.