30 Days Of JavaScript

Day 3: Logic

Lesson 0: Intro

We've spent a lot of time fleshing out data and how it can be created (const and let), how it can be grouped (arrays, sets etc) and changed (+, - etc).

However we've not looked at how we can take that data and make decisions with it, like if the temperature is above a certain level can we notify our user in someway so they know to turn on the air con.

Well today we are going to look at logic and conditionals. We will cover:

  • If
  • And
  • Or
  • If Else
  • If, Else if, Else

And finish up with the weather based app, where we tell the user what to wear based on weather conditions.

Outline

Go Pro?

If you upgraded to pro, sign in here

  • About
  • Blog
  • Privacy
Looking to email me? You can get me on my first name at allthecode.co