Looping
Whats ive Learned
Looping
- There are two different kinds of loops, for loops ad while loops.
- for loops use code to run a function on a condition a set about of times
- Boolean: true or false.
- Loops check a condition, if it returns true a code block will run. The condition will be checked again, and will continue until the condition returns false.
- logical operators allow us to compare the results of input information
- ==` is equal symbol
!=
not equal symbol
!==
strict not equal symbol
>
greater than symbol
<
less than symbol
Back to main page