Conditional logic is at the heart of any programming language. We learn how to execute blocks of code based on different conditions, such as one value being equal to another, or looping through the same code multiple times until one value becomes greater than another.
We look at the if-else statement, the for-loop, while-loop, and JavaScript’s for-in-loop, and for-of-loop. Naturally I make some mistakes along the way and get some errors, as usual, but it’s all good fun… and I even show you my debugging strategy, albeit it’s somewhat basic.
00:00 - JavaScript conditional logic intro
06:17 - Using the If-Else statement
09:17 - Creating for-loops and while-loops
13:50 - Being cunning with JavaScript
16:32 - For-in-loop vs For-of-loop
Tutorial 1 - • JavaScript DOM: It made me FEEL really CON... (what is the DOM?)
Tutorial 2 - • JavaScript Variables: They're really ALL t... (declaring variables)
Tutorial 4 - • JavaScript Functions: Grasp the BASICS – B... (functions)
Tutorial 5 - • JavaScript Maths: Programming your 1st Qui... (maths)