Beep boop. Are you on a mobile device?

codeCampus is a desktop / tablet experience. Log back in on one of those devices and we can get coding!

Chapter 1
What is code?

Pssst...use your keyboard arrows to turn the page!

Arrow keys

Heya, coders! My name is Synthia. I’m your friendly, neighborhood artificial intelligence created by codeCampus - and I’m going to help you learn how to code!

So, you may be wondering...what is code?

Code is just instructions that humans write for computers! See, computers are really powerful, but they aren’t too smart. They need humans like YOU to show them how to do basically EVERYTHING.

Code lets us do incredible things, from creating computer games and mobile apps, to controlling stoplights and teaching our microwaves how long to cook popcorn for.

Take the next 30 seconds to think about other uses of code!

We write code as step by step instructions. And when the computer reads that code, it follows those instructions step by step, too! That’s right – just like English, code is written from left to right, and top to bottom.

Page 7

Let's pretend that our robot buddy wants to eat a Peanut Butter & Jelly Sandwich. He doesn't know how to do anything, though, so we're going to have to give him step by step instructions.

Page 8

Remember: our robot can only do things one step at a time, so this is what our instructions might look like.

Page 9

Phew…as you can see, even something easy like making a PB&J sandwich can be broken down into a LOT of steps. That wasn't even all of the steps we needed, for crying out loud!

Page 10

Computers like our robot buddy get easily confused. So we need to make sure that we write all of our instructions on separate lines, and that we write them in the correct order...

...I mean, can you imagine how confused our robot would be if we told him to spread the jelly on the bread before he had a knife?!

To recap, code is instructions that humans write to teach computers to do stuff. Code is written and read from left to right, and top to bottom.

That’s it for now – proceed to the next activity to practice using step-by-step instructions to create your own animation! Later gators!