JavaScript — Beginner
JavaScript — Complete Tutorial (Beginner): 13 topics and 48 interactive cards with runnable examples and quizzes.
Topics
- Introduction to Programming & JavaScript — What is Programming? · What is JavaScript?
- Your First JavaScript Program — Hello World! · Understanding console.log() · New Lines, Quotes and Escape Characters
- 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
- 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
- Operators & Expressions — What is an Operator? · Arithmetic Operators · Comparison Operators · Logical Operators · Assignment Operators
- Conditional Statements — Making Decisions with if / else if / else · The switch Statement · The Ternary Operator
- Loops & Iterations — Why We Need Loops · The for Loop · The while Loop · The do...while Loop · Loop Control: break and continue
- Functions — What is a Function and Why Use One? · Parameters and Return Values · Arrow Functions · Functions in a Real Program
- Arrays — Lists of Data — What is an Array? · Common Array Methods · Looping Through Arrays
- Objects & Classes — What is an Object? · Arrays of Objects · Classes: Blueprints with Behaviour
- Strings — Working with Text — Strings as Sequences of Characters · String Methods Reference · Template Literals
- Error Handling — Why Errors Happen and Why They Matter · Throwing Your Own Errors
- Mini-Projects & Practice — Simple Calculator · Grade Reporter · Number Guessing Game Logic · Practice Exercises · Now You Try!