Conditionals in JavaScript


  1. if statement
  2. Double equal (==) issues in JavaScript
  3. Compare values using == in JavaScript
  4. Compare values using === in JavaScript
  5. Comparision operators
  6. Comparision operators - examples
  7. Booleans: true and false
  8. Falsy values in JavaScript
  9. Truthy values in JavaScript
  10. Logical operators
  11. Toggle boolean
  12. Convert Truthy and Falsy values to boolean
  13. Short circuit
  14. if - else
  15. else if
  16. Switch (case) in JavaScript
  17. Math.round
  18. Math.random
  19. Exercise: Calculator
  20. Solution: Calculator
  21. Exercise: Guess number
  22. Solution: Guess number