Code / Block Coding Jr. / Unit 3: Look before you leap: conditions

Level 10 · Is there a tiffin here? लेवल 10 · क्या यहाँ टिफ़िन है?

Lesson 10 of 20 · about 6 minutes · Tiffins are scattered along the road.

⚡ 0 XP

Step 1 of 1

Level 10 · Is there a tiffin here?

if ?true ✓else ✗

An if block asks a yes/no question. If the answer is yes, the blocks inside run. If no, they are skipped.

This lets one program work even when things are in different places.

🎯 Challenge: Level 10 · Is there a tiffin here? +20 XP

Tiffins are scattered along the road. Use “if on a tiffin → pick up” so Dabbu only picks where there is something to pick.

Try twice to unlock the solution (0/2)

Loading blocks…
Lesson notes (text version)

1. Level 10 · Is there a tiffin here?

An if block asks a yes/no question. If the answer is yes, the blocks inside run. If no, they are skipped.

This lets one program work even when things are in different places.

Challenge: Level 10 · Is there a tiffin here?

Tiffins are scattered along the road. Use “if on a tiffin → pick up” so Dabbu only picks where there is something to pick.

Search by task, format or tool name.