Back to Pathways
Sequence Lesson 5

Syntax Sandwich

Kids learn that code can have a wrapper: an opening tag, the code inside, and a closing tag.

10-15 min Ages 6-9 Practice Syntax
Practice

Build a syntax sandwich.

Choose a sandwich mission. Then drag ingredients from the fridge to the plate: bread first, fillings in the middle, and bread last.

Opening tag top bread
Code inside fillings
Closing tag bottom bread
Fridge with bread and sandwich fillings
Practice Results

My syntax sandwich

Good syntax has pieces in the right order, just like a sandwich.

Sandwich feedback will show here.

Choose ingredients to build the sandwich.

<sandwich>
  add fillings
</sandwich>