What Is a Sequence?
A sequence is a set of instructions followed in a specific ORDER. Change the order and you get a completely different result!
Making a peanut butter sandwich is a sequence: 1) Get bread. 2) Open peanut butter jar. 3) Spread peanut butter on bread. 4) Close sandwich. What happens if you do step 3 before step 1? You spread peanut butter on... the table!
Computers follow sequences EXACTLY. They do not guess what you meant. If you tell a computer to draw a circle before picking a color, it draws a circle in whatever color was already selected. Computers are very obedient but not very smart β they do exactly what you say, nothing more, nothing less.
Coding is just writing sequences of instructions for computers. Every app, game, and website is made of thousands of sequences!