TypeScript for Frontend
Use TypeScript in front-end code: DOM types, events, fetch responses and component props.
What you'll learn
- Type DOM elements and events
- Type fetch responses and API data
- Validate unknown data with type guards
- Share types across a project
About this course
You type a front-end app from the DOM up. You learn DOM and event types, typed fetch calls, type guards for API data and how to share types between files.
Course curriculum
4 modules and 12 lessons over 3 weeks. Plan for about 9 learning hours.
01DOM and eventsWeek 1 · 3 lessons
- Element types
- Event types
- Null checks
02DataWeek 1 · 3 lessons
- Typing fetch
- unknown and type guards
- Zod for runtime checks
03Project typesWeek 2 · 3 lessons
- Shared type files
- Enums versus unions
- Declaration files
04Typed appWeek 3 · 3 lessons
- Typing a dashboard
- Strict mode
- Exercise review
Project
Typed dashboard. A small front-end dashboard typed from DOM to API data under strict mode.
Who this course is for
Front-end developers who know TypeScript basics.
Prerequisites
You know TypeScript annotations and interfaces.
What's included
- 120-day course access
- Step-by-step lessons
- Practice files
- Reusable code templates
- A graded final exercise
- A digital completion certificate
Learning format
Self-paced practical course, part of our self-paced courses. Graded final exercise with written feedback.
Access and delivery
- Enrollment is activated within 15 minutes after payment.
- Final exercise feedback is delivered within 2 business days of submission, and the completion certificate is issued within 2 business days after passing the final exercise.
Certificate
You receive a digital completion certificate. Final exercise feedback is delivered within 2 business days of submission, and the completion certificate is issued within 2 business days after passing the final exercise.
Frequently asked questions
When does access start?
Enrollment is activated within 15 minutes after payment.
Is payment taken on this website?
No. After you submit your enrollment request, we reply by email with payment details and enrollment confirmation.
Does this course guarantee a job or income?
No. It is an education and training service and does not include employment, income or placement guarantees.
Can I cancel?
Our Refund and Cancellation Policy lists the terms for self-paced course programs.