Project and Next Steps · Lesson 40 of 40
JavaScript Roadmap: What to Learn Next
You've covered the core of modern JavaScript: values and types, functions and closures, arrays and objects, classes, asynchronous code, the DOM, storage and a complete project. That foundation transfers to every JavaScript job. This lesson maps the paths from here, so you can choose a direction and keep momentum – plus a checklist for getting interview-ready.
In this lesson
- A self-check of the fundamentals
- TypeScript – the next step for everyone
- Front-end, back-end and full-stack paths
- Testing, tooling, portfolio projects and interview practice
Self-check: are the fundamentals solid?
You're ready to move on when you can explain each of these without notes:
Core concepts interviewers expect
- let/constscope, hoisting, TDZ
- Coercion== vs ===, truthy
- Closuresand their uses
- thiscall, apply, bind
- Prototypesand classes
- Event loopmicro vs macrotasks
- Promisesasync/await, all
- Array methodsmap, filter, reduce
- Immutabilityspread, copies
- DOM eventsbubbling, delegation
Step 1 for everyone: TypeScript
TypeScript is JavaScript with type annotations. It catches mistakes while you type – misspelt properties, wrong arguments, possibly-undefined values – and is now the default for most professional front-end and Node.js projects.
type Priority = "low" | "medium" | "high";
interface Task {
id: string;
title: string;
priority: Priority;
done: boolean;
}
function addTask(tasks: Task[], title: string, priority: Priority = "medium"): Task[] {
return [{ id: crypto.randomUUID(), title, priority, done: false }, ...tasks];
}
addTask([], "Learn TypeScript", "urgent");
// ~~~~~~~~ Error: '"urgent"' is not assignable to type 'Priority'
Everything you learnt still applies – TypeScript only adds types on top. Start by converting your task tracker to TypeScript.
Choose a path
Where JavaScript can take you
JavaScript + TypeScript
- Front-endReact → Next.js · state management · accessibility · performance · CSS (Tailwind)
- Back-endNode.js → Express / NestJS · REST & GraphQL · SQL databases · authentication
- Full-stackNext.js or React + Node · databases · deployment (Vercel, AWS, Docker)
- SalesforceLightning Web Components – modern JS on the Salesforce platform
- Mobile & desktopReact Native · Electron
Front-end developer
- React – components, props, state, hooks (
useState,useEffect). Your task tracker's "state → render" design is exactly React's model. - Next.js – routing, server rendering, data fetching and SEO.
- Styling – modern CSS (flexbox, grid) and a utility framework such as Tailwind.
- Quality – accessibility (WCAG), Core Web Vitals, responsive design.
Back-end developer
- Node.js – modules, the file system, streams and npm.
- An API framework – Express for simplicity, NestJS for structure.
- Databases – SQL first (it's asked in almost every role), then an ORM such as Prisma or Drizzle.
- Security – authentication, hashing passwords, validation, rate limiting.
Skills every developer needs
| Skill | Start with |
|---|---|
| Version control | Git and GitHub: branches, pull requests, resolving conflicts |
| Testing | Vitest or Jest for unit tests; Playwright for end-to-end tests |
| Tooling | npm scripts, Vite, ESLint, Prettier |
| HTTP and APIs | status codes, headers, REST design, CORS, authentication with tokens and cookies |
| Data structures & algorithms | arrays, hash maps, stacks/queues, recursion, sorting, Big-O – for coding rounds |
| Deployment | Vercel or Netlify for front-ends; a VPS, Render or AWS for APIs |
Portfolio projects that impress
- Task tracker+ – this course's project with TypeScript, tests and a backend API.
- Weather or movie dashboard – a public API, debounced search, loading and error states, caching.
- Quiz app with timer – state machines, timers, a results screen, local high scores.
- Expense tracker – forms and validation, charts, Intl currency formatting, CSV export.
- Real-time chat – Node.js + WebSockets, authentication, a database.
What makes a project stand out
A live link, a clear README (what, why, how to run, screenshots), clean commits, error handling and loading states, accessibility, and a few tests. Two polished projects beat ten half-finished ones.
Prepare for interviews
A four-week interview plan
- Week 1 – conceptsrevise this course; explain closures, this, event loop out loud
- Week 2 – output questionspredict console output for coercion, hoisting, async ordering
- Week 3 – codingdebounce, throttle, deep clone, polyfills, array problems
- Week 4 – projects & mockswalk through your project; timed mock interviews
Practise with LearnFrenzy's question sets:
- JavaScript core concepts
- Asynchronous JavaScript: event loop and promises
- Data types, coercion and operators
- Arrays, objects and ES6+
- DOM, events and browser APIs
- Web performance and security
- Coding: polyfills and utilities
- Output-based tricky questions
- Problem-solving coding questions
- Tricky questions: async, closures and this
Keep the habit
- Code a little every day – the Daily Code Challenge keeps a streak going.
- Read other people's code on GitHub; contribute a small fix to an open-source project.
- Follow the yearly ECMAScript additions – new features arrive every June.
- Teach what you learn: writing a short post about closures is the fastest way to truly understand them.
Summary
- Make sure the fundamentals are solid, then learn TypeScript.
- Pick a path – front-end (React/Next.js), back-end (Node.js + SQL) or full-stack – and build real projects.
- Add Git, testing and deployment, and prepare for interviews with concept, output and coding practice.
Finished this lesson?
Mark it complete to track your progress. You have reached the end of this track — well done!