« Back to Main Page

AppLabJS:Conditions

From Bold Idea Knowledgebase

About Conditions

Making decisions based upon information is an important part of what makes computers seem intelligent! Computer decisions are based upon boolean expressions and conditional statements that compare values to answer a true or false question. The computer reacts based on the resulting value.

Resources

There are some great resources on Code.org to help with learning conditions in app lab. It's ok to have everyone pause their work to watch these videos together, regardless of where they are in their project:

Boolean Expressions

Try it out

Condition Statements

Try it out

Combining Conditions using AND & OR

Try it out