Menu
js iconPart of the JavaScript JourneyPopularJourney

Learn TypeScript

A free, interactive TypeScript course built on top of JavaScript. You write TS on every lesson - type annotations, interfaces, generics, unions, narrowing - with AI hints when you get stuck and a certificate when you finish. Part of the wider JavaScript journey, so the JS context that makes TypeScript click is right there.

253,075+ codders enrolled

  • Beginner friendly
  • sparkles iconAI-assisted coding help
  • hint iconHands-on interactive lessons
  • volume On iconAudio narration on every lesson
  • quiz iconQuizzes to test your knowledge
  • certificate iconFree certificate of completion

Syllabus

1 sections2 projects73 lessons58 challenges438 quiz questions

This section is part of the JavaScript Journey. The full syllabus has more sections - click any preview below to view it on the Journey page.

  1. Section 1Fundamentals77 lessons
  2. Section 2Logic & Flow65 lessons
  3. Start sectionStartExpandCollapseIntroduction to typescript after learned about javascript

    Getting Started with TS

    5 lessons232

    Core Types

    7 lessons748

    Data Structure: Arrays & Tuple

    9 lessons862

    Working with Functions

    8 lessons855

    Types: Aliases, Unions & Inter

    7 lessons751

    Typing Objects and Interfaces

    8 lessons757

    Project: A Simple Task List

    Project6 lessons18

    Enums

    6 lessons638

    Generics: A First Look

    6 lessons537

    Project: Inventory Management

    Project5 lessons18

    Advanced Topics

    6 lessons642
  4. Section 4Object Oriented Programming56 lessons

Why learn TypeScript with Coddy

  • Write TypeScript in your browser. No tsc install, no editor setup, no tsconfig.json to wrangle. The editor and output sit side-by-side so you see what each type does instantly.
  • Modern TypeScript: type annotations, interfaces, generics, union and intersection types, narrowing, utility types, and how TS layers on top of plain JavaScript without changing what runs at runtime.
  • AI hints help you read TypeScript errors - the famously long ones - without spoiling the fix, so you build the mental model that makes future TS code easier to write.
  • Free TypeScript certificate when you finish the section. A credible signal that you can read and write idiomatic TS, not just JavaScript with sprinkled types.

Frequently asked questions about learning TypeScript

What is TypeScript?

TypeScript is a superset of JavaScript that adds optional static typing. Valid JavaScript is valid TypeScript, but TS lets you annotate variables, function parameters, and return values with types - the compiler then catches mistakes before your code runs. At runtime, TypeScript compiles down to plain JavaScript.

Is TypeScript hard to learn?

If you're comfortable with JavaScript, the basics of TypeScript are quick to pick up - adding : string or : number to a few variables and you're already writing TS. The trickier parts (generics, conditional types, mapped types, narrowing) take longer, and this course introduces them in small steps with hands-on examples.

Do I need to know JavaScript before TypeScript?

Yes. TypeScript is JavaScript with types on top, so the language you're really learning is JS. This TypeScript section is part of the JavaScript journey for that reason - you can take the JS sections first, or jump straight to TS if you're already comfortable with modern JavaScript.

What's the difference between TypeScript and JavaScript?

JavaScript is dynamically typed - a variable can hold a string today and a number tomorrow, and you only find out at runtime. TypeScript adds a static type layer that runs at build time, catching type mismatches before the code ships. The compiled output is still plain JavaScript, so it runs anywhere JS does.

Can I learn TypeScript online for free?

Yes. The interactive TypeScript section is free - full lessons, coding exercises, quizzes, and a certificate. The editor runs in your browser with the TS compiler built in, so you don't need to install tsc, Node, or any tooling to start writing TypeScript.

Do I get a certificate after the TypeScript course?

Yes. Finishing the TypeScript section gives you a free certificate of completion you can share on LinkedIn or include on your resume. A verifiable signal that you've worked through structured, hands-on TypeScript material, not just watched tutorials.
Coddy programming languages illustration

Learn Introduction To TypeScript with Coddy

GET STARTED