JavaScript and TypeScript
Browser and language foundations with typed API contracts and accessibility.
4 lessons in foundation · 10 practice activities
Language foundations
Lessons
- TypeScript types stop at runtime Foundation · 13 min
- Build a keyboard-usable control Foundation · 12 min
Practice
| Activity | Type | Level | |
|---|---|---|---|
| Fix a loose-equality bug | debugging | Foundation | Preview |
| Make a custom list keyboard accessible | frontend | Mid | Preview |
| Make an inline form error accessible | frontend | Foundation | Preview |
| Predict the order of async callbacks | fluency | Mid | Preview |
| Replace per-item listeners with delegation | frontend | Mid | Preview |
Async and state
Lessons
- Handle stale async results Foundation · 14 min
- Handle partial success across requests Foundation · 12 min
Practice
| Activity | Type | Level | |
|---|---|---|---|
| Cancel outdated search requests | debugging | Mid | Preview |
| Debounce a search and cancel stale requests | practical lab | Mid | Preview |
| Handle every API result variant | fluency | Mid | Preview |
| Keep successful results when one request fails | practical lab | Mid | Preview |
| Model loading, success and error states | fluency | Mid | Preview |