TS

TypeScript — Beginner

BeginnerNode.js · 7 lessons

Start from zero: install Node.js, write and run your first TypeScript program, and learn the building blocks every program uses — values, types, functions, decisions, loops, objects and modules.

Lessons

  1. 1Setting up Node.js & TypeScriptInstall the tools, create a project and run your first program.Solution4-question quiz
  2. 2Variables & Basic Typeslet vs const, primitive types, type inference, arrays and any vs unknown.Solution4-question quiz
  3. 3FunctionsParameters, return types, optional and default values, arrow functions.Solution4-question quiz
  4. 4Decisions & Loopsif/else, switch, comparison operators, for, for...of and while loops.Solution4-question quiz
  5. 5Objects, Interfaces & Array MethodsDescribe data with interfaces, then transform it with map, filter and reduce.Solution4-question quiz
  6. 6Working with Text & DatesString methods, template literals and template literal types, neat formatting with padStart and Intl, and safe date handling.Solution4-question quiz
  7. 7Modules, Node.js Built-ins & npm ScriptsSplit code across files, read files with node:fs and automate tasks with npm scripts.Solution4-question quiz
Start with lesson 1 →
Ask AI