Skip to content

Phase 1 — JavaScript Fundamentals

Estimated Time: 2–3 weeks (10–15 hours) Prerequisites: Basic computer literacy, text editor installed Target: Complete beginner → solid foundation

By the end of this phase, you will be able to:

  • Write and execute JavaScript in browsers and Node.js
  • Use variables, data types, and operators confidently
  • Control program flow with conditionals and loops
  • Create and use functions (declarations, expressions, arrows)
  • Understand scope, closures, and hoisting
  • Manipulate arrays and objects with built-in methods
  • Debug code using browser developer tools
  • Apply best practices and avoid common pitfalls
#ModuleTopicsEst. Time
01IntroductionHistory, engines, compilation, runtime1 hr
02EnvironmentBrowser vs Node.js, console, dev tools30 min
03Variablesvar, let, const, TDZ, hoisting1.5 hrs
04Data TypesPrimitives, references, coercion, NaN2 hrs
05OperatorsArithmetic, logical, ternary, ??, ?.1 hr
06Control Flowif/else, switch, loops, guard clauses1.5 hrs
07FunctionsDeclarations, arrows, callbacks, HOFs, recursion2.5 hrs
08ScopeLexical, block, global, scope chain, closures1.5 hrs
09ArraysMethods, map/filter/reduce, sorting, performance2 hrs
10ObjectsLiterals, methods, destructuring, descriptors1.5 hrs
01-introduction → 02-environment → 03-variables → 04-data-types
↓
05-operators → 06-control-flow → 07-functions
↓
08-scope → 09-arrays → 10-objects

Pro tip: Complete the modules in order. Each builds on the previous one.

ConceptYou’ll Use It For
Variables & TypesStoring user data, API responses, configuration
FunctionsReusable logic, event handlers, API calls
Arrays & ObjectsManaging lists, structured data, JSON
Scope & ClosuresData privacy, factory functions, React hooks
Control FlowForm validation, routing logic, feature flags

After completing this phase:

  • Build a Calculator (variables, functions, control flow)
  • Build a To-Do List (arrays, objects, functions)
  • Build a Number Guessing Game (loops, conditionals, scope)
  • Solve 10+ coding challenges per module

Once you finish Phase 1, continue to:


💡 Tip: Don’t rush. Each concept in Phase 1 is the foundation for everything that follows. Write code every day!