JavaScript — Beginner

JavaScript — Complete Tutorial (Beginner): 13 topics and 48 interactive cards with runnable examples and quizzes.

Topics

  1. Introduction to Programming & JavaScript — What is Programming? · What is JavaScript?
  2. Your First JavaScript Program — Hello World! · Understanding console.log() · New Lines, Quotes and Escape Characters
  3. Variables — Your Data Containers — What is a Variable? · The Three Keywords: let, const, and var · Declaring, Assigning, and Updating Variables · Naming Conventions · Variables in Action: A Full Example
  4. Data Types — Kinds of Values — What is a Data Type and Why Does it Matter? · The number Type in Depth · The string Type in Depth · The boolean Type in Depth · undefined, null, and typeof
  5. Operators & Expressions — What is an Operator? · Arithmetic Operators · Comparison Operators · Logical Operators · Assignment Operators
  6. Conditional Statements — Making Decisions with if / else if / else · The switch Statement · The Ternary Operator
  7. Loops & Iterations — Why We Need Loops · The for Loop · The while Loop · The do...while Loop · Loop Control: break and continue
  8. Functions — What is a Function and Why Use One? · Parameters and Return Values · Arrow Functions · Functions in a Real Program
  9. Arrays — Lists of Data — What is an Array? · Common Array Methods · Looping Through Arrays
  10. Objects & Classes — What is an Object? · Arrays of Objects · Classes: Blueprints with Behaviour
  11. Strings — Working with Text — Strings as Sequences of Characters · String Methods Reference · Template Literals
  12. Error Handling — Why Errors Happen and Why They Matter · Throwing Your Own Errors
  13. Mini-Projects & Practice — Simple Calculator · Grade Reporter · Number Guessing Game Logic · Practice Exercises · Now You Try!