A frontend developer builds the part of an app that runs in the browser. Learn semantic HTML and CSS layout, then JavaScript, then React and Next.js with TypeScript. Add accessibility, performance and testing early, because they separate working screens from good ones. Build three interfaces, deploy them and check each with a keyboard and Lighthouse.
This page is for students and career switchers who want to build what people see and touch in the browser. Resource links were opened on 11 November 2026, and the performance thresholds come from Google's web.dev.
The first four stages are the same in every frontend job. The last stage, quality, is where AI-generated interfaces most often fall short and where a junior can stand out.
- 1HTMLsemantic structure, forms
- 2CSSflexbox, grid, responsive
- 3JavaScriptDOM, async, modules
- 4ToolingGit, npm, Vite
- 5Reactcomponents and state
- 6TypeScripttypes for props and data
- 7Next.jsrouting and data fetching
- 8Qualitya11y, speed, tests
The eight stages
- HTML. Headings, lists, links, images, tables and forms with the right elements. Done when your page makes sense with CSS switched off.
- CSS. The box model, flexbox, grid, media queries and custom properties. Done when a layout survives a 320 pixel phone and a wide monitor.
- JavaScript. Functions, closures, array methods, the DOM, events,
fetch, promises andasyncandawait. Build apps with no framework first. - Tooling. Git, npm, a bundler such as Vite and your browser's developer tools. Learn to read a stack trace and the network tab.
- React. Components, props, state, effects and lists. Build a few apps that fetch and change data.
- TypeScript. Types for props, API responses and events. It turns many runtime surprises into editor warnings.
- Next.js. File-based routing, server and client components, data fetching and deployment. See the full stack developer roadmap for the backend half.
- Quality. Accessibility, performance and tests, covered below.
Masai's 10 creative HTML and CSS projects is a good first practice list, and its frontend vs backend comparison explains where the roles split.
Skills, why they matter and a free place to start
| Skill | Why it matters | Free first resource |
|---|---|---|
| Semantic HTML and forms | Screen readers, search engines and browsers read structure | MDN Learn web development |
| CSS layout | Responsive screens without hacks | MDN CSS layout |
| JavaScript | All browser behaviour runs on it | javascript.info |
| React | The common way to build stateful interfaces | react.dev Learn |
| TypeScript | Catches type errors before users do | TypeScript Handbook |
| Next.js | Routing, data loading and rendering in one framework | Next.js Learn |
| Accessibility | Keyboard and screen reader users must be able to finish tasks | web.dev Learn Accessibility and the WCAG 2.2 quick reference |
| Performance | Slow pages lose users | Core Web Vitals on web.dev and Lighthouse |
| Testing | Protects behaviour while you refactor | Vitest, Testing Library and Playwright |
The quality stage: accessibility, performance and tests
Google's web.dev defines three Core Web Vitals and treats a page as passing when the 75th percentile of visits meets all three: Largest Contentful Paint within 2.5 seconds, Interaction to Next Paint of 200 milliseconds or less, and Cumulative Layout Shift of 0.1 or less. Interaction to Next Paint replaced First Input Delay as a stable metric in 2024.
For accessibility, start with what you can test yourself: use only the keyboard, check focus order and visible focus, give every input a label and every image meaningful alt text, and test colour contrast. The W3C's WCAG 2.2 quick reference lists the success criteria to test against.
For tests, cover logic with unit tests, components with Testing Library and the main user flow with one Playwright test. Keep them few and reliable.
What to build
- Three interfaces: a form-heavy app, a data dashboard with loading and error states, and a content site. The frontend project ideas and JavaScript practice projects lists have starting points. Connect one to an API from the backend developer roadmap.
- A portfolio site that links all three. The portfolio website guide deploys one for free.
- Use free kits and templates from the free UI kits and starter templates lists, then change them enough that you can explain every file.
- Try an AI app builder or assistant from the free AI coding assistants page or the vibe coding path, then audit the result for keyboard use, contrast and layout shift.
Hiring and pay: what the data shows as of 11 November 2026
Pay: Levels.fyi had no India page for front-end focus when we read it. For all software engineers in India it lists a median of ₹30.5 lakh from 21,353 self-reported salaries (updated 10 November 2026), and a 25th to 75th percentile range of ₹17.6 lakh to ₹49.4 lakh. First-job offers are lower.
2027 outlook
PrepNPlaced's October 2026 count of 18,752 tech postings has no frontend row; Software Engineer is the largest (20.3%) and only 4.3% of postings were entry or junior. Naukri's September 2026 JobSpeak shows fresher hiring up 1% and IT and software services down 4%.
AI tools generate interfaces fast, and the 2026 Stack Overflow survey found coding assistants and agents are the most common AI use (66%). That moves the junior's value towards what generated screens often miss: keyboard access, contrast, layout shift, state bugs and tests. Show them in your projects. We found no Indian data on how many frontend jobs AI has removed, so we do not claim a number.
Interview preparation notes
- JavaScript questions come first: closures,
this, promises and the event loop. Predict the output of the snippet below before you run it. - React questions cover state versus props, effects and cleanup, keys in lists, controlled inputs and why a component re-renders.
- CSS rounds ask flexbox versus grid, specificity and how you would make a card layout responsive.
- Many rounds include building a small UI in under an hour. Practise with a timer and review data structures and algorithms for the online test.
console.log('1 sync');
setTimeout(() => console.log('4 timeout'), 0);
Promise.resolve().then(() => console.log('3 promise'));
console.log('2 sync');The output is 1, 2, 3, 4. Synchronous code runs first, then promise callbacks (microtasks), then timers, even with a zero delay. Being able to say why is the point of the question.
Frequently asked questions
What does a frontend developer do?
A frontend developer builds the part of a website or app that runs in the browser: layout, styling, interaction, data loading and state. They also care about accessibility, speed and testing, and work with designers and backend developers.
What should I learn first for frontend development?
Learn HTML first, then CSS layout, then JavaScript, in that order. Skip frameworks until you can build a small interactive page without one. Then learn React, followed by TypeScript and Next.js. Test every project on a real phone and with a keyboard so accessibility becomes a habit.
Is frontend development hard to learn?
The basics are approachable, and the hard part is breadth: layout, JavaScript, state, accessibility and performance all matter. Learn them through small projects instead of long courses, and test each one on a real phone and with a keyboard. Most beginners stall when they jump to frameworks too early.
Do I need to learn TypeScript?
You can start React without it, but add it early. Editor warnings for type errors save debugging time, and many teams use TypeScript. Learn JavaScript properly first, then convert a project you already built to TypeScript so you see exactly what the types catch.
What are the Core Web Vitals?
Three page-experience metrics from Google: Largest Contentful Paint (loading, within 2.5 seconds), Interaction to Next Paint (responsiveness, 200 milliseconds or less) and Cumulative Layout Shift (visual stability, 0.1 or less). A page passes when the 75th percentile of visits meets all three targets.
Will AI replace frontend developers?
No source we read shows that. AI tools generate interfaces quickly, but accessibility, performance, state handling and testing still need a person who can check the result. Entry-level openings are tight, with 4.3% of one October 2026 set of tech postings tagged entry or junior, so show quality in your projects.
Frontend or backend: which should a beginner choose?
Neither is better. Frontend gives visible results sooner, while backend teaches data modelling and system design. Spend two weeks on a small project in each and notice which problems you enjoy. The backend and full stack roadmaps on this site cover the other paths.
Sources checked
- MDN web development learning path
- React documentation
- Core Web Vitals thresholds
- WCAG 2.2 quick reference
- PrepNPlaced tech postings, 26 Sep to 26 Oct 2026
- Naukri JobSpeak September 2026
- Levels.fyi software engineer pay in India
- Stack Overflow Developer Survey 2026, AI section
Learn this with mentors
Programmes for builders and engineers with admissions open: live classes, mentors and project work.


