Learn

Great job getting through Emojicode’s conditionals!

In this lesson we went over:

  • The β†ͺ️ statement accepts a condition and executes a code block if the condition is πŸ‘.
  • The πŸ™… statement provides a default code block to run if no other conditions are πŸ‘.
  • πŸ™Œ is used to check if two values are equal.
  • Other comparison operators, ◀️, ▢️, β—€οΈπŸ™Œ, β–ΆοΈπŸ™Œ compare the value of two numbers.
  • The πŸ™…β†ͺ️ statement is used to check additional conditions and executes a code block if its condition is πŸ‘.
  • The 🀝 logical operator checks that two expressions are both πŸ‘.
  • The πŸ‘ logical operator that at least one of two expressions is πŸ‘.
  • We can group together expressions using 🀜 πŸ€›.

πŸŽ‰πŸ₯³ That’s a lot! A round of πŸ‘ for you!

Instructions

Test your skills in the code editor!

If you want to learn more, check out Emojicode’s documentation!

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?