Your browser is not supported. Please upgrade your browser to
one of our supported browsers
. You can try viewing the page, but expect functionality to be broken.
App Lab works best on a desktop or laptop computer with a mouse and keyboard. You may experience issues using this tool on your current device.
Game Lab works best on a desktop or laptop computer with a mouse and keyboard. You may experience issues using this tool on your current device.
Unfortunately, we're currently experiencing issues with loading Web Lab on this browser. You may want to use a different browser until this is resolved. Sorry for the inconvenience.
You may experience issues using Web Lab in Private Browsing mode. Please reload your project in normal mode. Sorry for the inconvenience.
Lesson 11: Conditionals with the Farmer
Help and support
Hour of Code
Partner with Us
Inspire a Student
Tools and Videos
No video? Show notes.
Your teacher didn't expect you to be here. Please ask your teacher which lesson you should be on.
Go to unit overview
In this lesson...
are things that can be true or false.
You will learn how to use conditions in a program to make things happen
something is true!
Blocks to Know
Volunteer to translate our content
Help and support
Engineers from Amazon, Google, and Microsoft helped create these materials.
Minecraft™ © 2019 Microsoft. All Rights Reserved. Star Wars™ © 2019 Disney and Lucasfilm. All Rights Reserved. Frozen™ © 2019 Disney. All Rights Reserved. Ice Age™ © 2019 20th Century Fox. All Rights Reserved. Angry Birds™ © 2009-2019 Rovio Entertainment Ltd. All Rights Reserved. Plants vs. Zombies™ © 2019 Electronic Arts Inc. All Rights Reserved. The Amazing World of Gumball is trademark and © 2019 Cartoon Network.
Powered by Amazon Web Services
© Code.org, 2019