Level 1 of TypeScript from Zero

TypeScript Foundations

Programming from scratch

modules
15
lessons
89
hours
45‑60

Free

This level

What Level 1 gives you

Who it's for
People with no programming experience. Nothing is assumed.
You'll be able to
Break a problem into steps, write and test small programs, read error messages, work with files and web APIs, and use npm packages safely.
Running project
TaskKit. A command-line task manager that gains one feature in every module.

Lessons take 20 to 30 minutes, some shorter or longer as the topic needs. Each module ends with a one-page cheat sheet, in its last lesson. Levels 2 and 3 start with a placement quiz, and a glossary covers the whole course.

Modules

15 modules, 89 lessons

M3 · 5 lessonsConditions and Missing Values
  1. 3.1if / else and switch
  2. 3.2Logical operators, truthy and falsy values
  3. 3.3null and undefined
  4. 3.4Optional chaining ?. and nullish coalescing ??
  5. 3.5Checking for null: a first look at narrowing
  6. Project stepValidate input and print helpful messages.
M4 · 7 lessonsArrays and Loops
  1. 4.1Arrays and the T[] type
  2. 4.2for, for...of, and while
  3. 4.3map, filter, find, some, and every
  4. 4.4Sorting and its pitfalls
  5. 4.5reduce
  6. 4.6Simple tuples
  7. 4.7Reading code: tracing a loop by hand
  8. Project stepKeep tasks in a list, refuse a task typed twice, and sort them A to Z.
M10 · 2 lessonsReading Generic Types
  1. 10.1What <T> means: Array<T> and Map<K, V>
  2. 10.2Your first generic function
  3. Project stepStore tasks in a Map<string, Task> and write a generic findBy helper.
M11 · 6 lessonsAsynchronous Code
  1. 11.1What asynchronous code is and why it exists
  2. 11.2The event loop, in pictures
  3. 11.3Promise<T>
  4. 11.4async / await
  5. 11.5Errors in async code: try around await
  6. 11.6Catching what you do not await: .catch and unknown
  7. Project stepAdd a delay() helper and a reminder that waits before it prints.
M13 · 3 lessonsClasses: The Basics
  1. 13.1Classes: properties, constructors, and methods
  2. 13.2private, #private, and readonly: TypeScript privacy vs JavaScript privacy
  3. 13.3When to use classes, and when functions and objects are enough
  4. Project stepMove task storage into a TaskStore class with #private data and public methods.
M15 · 4 lessonsFinal Project
  1. 15.1Finish TaskKit: add a feature that fetches data from an API, and write a README
  2. 15.2Git on your computer: commits and a .gitignore
  3. 15.3Ship TaskKit: publish it on GitHub with a README and a short demo recording
  4. 15.4Self-assessment: are you ready for Level 2?
  5. Project stepShip TaskKit: publish it on GitHub with a README and a short demo recording.
  6. TipAfter lessons 15.2 and 15.3, Bonus A's Git lesson takes it further: history, branches, and pull requests.

Visual language

The pictures this level teaches with

Your certificate

What you earn when you finish Level 1

Read every lesson of the level and it is yours, with your name on it. Pass every exercise and quiz as well, and it says Theory and Practice.

DevFox LabsNo. SAMP · LE
Theory

Certificate of completion

Your
Name

has read every lesson of

TypeScript from Zero: Level 1 · TypeScript Foundations

Lessons read89 / 89
Issued27 November 2026

Levels

Take this level, or the whole course

Complete course

TypeScript from Zero · Complete

Every level, from your first line of code on.

Paid · in progress
  • Level 1 · TypeScript Foundationsincluded, free
  • Level 2 · Practical TypeScript
  • Level 3 · Advanced TypeScript
  • 51 modules · 237 lessons
  • + Bonus · 2 modules, free
  • 155‑200 hours
Start with Level 1
Level 1

TypeScript Foundations

Programming from scratch

Free
  • 15 modules · 89 lessons
  • 45‑60 hours
  • Project: TaskKit

Break a problem into steps, write and test small programs, read error messages, work with files and web APIs, and use npm packages safely.

Start Level 1 free
Bonus

2 bonus modules · 44 lessons

Free
Open Bonus Modules

Not part of the levels. These two modules show where TypeScript is used and which libraries you'll meet. Each lesson explains what a platform, tool, or library is for and shows one short example of where TypeScript helps. The tools themselves are learned separately; this course doesn't teach them in depth.

  • Bonus A · 15 lessonsTypeScript in the Real WorldPart 1 reads best after Level 2. Its Git lesson, the first of Part 2, builds on Level 1's lessons 15.2 and 15.3: read it any time after Level 1.
  • Bonus B · 29 lessons · coming soonMust-Have LibrariesA catalog, not a sequence: read any lesson once you've reached the level on its tag. Libraries already taught inside the levels (chalk, commander, date-fns, lodash, zod, axios, ts-pattern, vitest, type-fest, Drizzle or Kysely, tRPC) aren't repeated here.
Curriculum v6 · September 2026Tested with TypeScript 7.x · Node.js LTS
    TypeScript Foundations — Level 1 of TypeScript from Zero | DevFox Labs