Front End
What is Front End?
The front end is the user-facing layer of an application, the screens, controls and behavior that run in a browser or mobile app, built with HTML, CSS and JavaScript on the web. It gets data from the back end through APIs.
Updated November 2026 · 3 min read
The front end is the part of a software application that users see and interact with: the screens, layout, buttons, forms, text and behavior in a web browser or mobile app. It is built with technologies that run on the user's device, chiefly HTML for structure, CSS for presentation and JavaScript for behavior on the web, and Swift, Kotlin or cross-platform frameworks on mobile. The front end talks to the back end, which stores data and runs business logic on servers, usually through APIs.
For product teams, the front end is where most user experience decisions become real. Speed, clarity, accessibility and consistency all depend on front-end work, and most user complaints about a product, from "it's slow" to "I can't find the button", are front-end problems or show up there first.
Front end vs. back end
| Aspect | Front end | Back end |
|---|---|---|
| Runs on | The user's browser or device | Servers and cloud infrastructure |
| Responsible for | Interface, interaction, rendering, client-side validation | Data storage, business logic, authentication, integrations |
| Typical technologies | HTML, CSS, JavaScript or TypeScript, frameworks such as React, Angular, Vue or Svelte; Swift and Kotlin on mobile | Languages and runtimes such as Java, Python, Go, Ruby, C# or Node.js; databases; queues |
| Typical quality concerns | Load speed, responsiveness, accessibility, browser and device compatibility | Correctness, scalability, security, uptime |
Full-stack developers work across both. Many teams also have a design system that front-end engineers implement as a shared component library.
What good front-end work looks like
- Fast. Pages load and respond quickly on ordinary devices and networks, not just on developers' laptops.
- Accessible. Usable with keyboards and screen readers, with sufficient contrast and clear labels, following standards such as WCAG.
- Responsive. Works across screen sizes and input methods.
- Consistent. Built from shared components so the same action looks and behaves the same everywhere.
- Resilient. Handles slow networks, errors and empty states gracefully.
How to measure front-end performance
Google's Core Web Vitals are a widely used set of front-end metrics for web pages:
- Largest Contentful Paint (LCP). How long the main content takes to appear. Good is 2.5 seconds or less.
- Interaction to Next Paint (INP). How quickly the page responds to user input. Good is 200 milliseconds or less. INP replaced First Input Delay as a Core Web Vital in 2024.
- Cumulative Layout Shift (CLS). How much content jumps around while loading. Good is 0.1 or less.
Google assesses these at the 75th percentile of real page loads, which means the experience of slower users counts, not just the average.
Front-end performance example
Consider a hypothetical B2B dashboard product. Real-user monitoring shows an LCP of 4.2 seconds at the 75th percentile on the main dashboard, and customer interviews mention slowness. Investigation finds that the page loads a 1.8 MB JavaScript bundle before showing anything, including charting code for widgets most users never open.
Front-end engineers split the bundle so chart code loads only when a widget is opened, cutting the initial download to 600 KB, a two-thirds reduction. They also render a skeleton layout immediately. LCP at the 75th percentile falls to 2.3 seconds, inside the "good" threshold. The product team then checks whether faster loads change behavior and sees daily dashboard visits per active user rise modestly over the next month, though other changes shipped in the same period, so it treats the link as suggestive rather than proven.
Common pitfalls
- Testing only on fast machines. Many users have older phones and slower connections. Test on representative devices.
- Accessibility as a final pass. Retrofitting accessibility is slower and more expensive than building it in.
- One-off components. Building custom versions of common elements creates inconsistency and maintenance cost.
- Ignoring empty and error states. These are where users get stuck most often.
- Treating front end as "just UI". Front-end architecture choices affect performance, security and how quickly teams can ship.
Front-end work turns user interface designs into working software and shapes the overall user experience. It depends on accessibility guidelines and on reusable components described in atomic design.
Frequently asked questions
What is the difference between front end and back end?
The front end runs on the user's browser or device and handles the interface, interaction, rendering and client-side validation. The back end runs on servers and handles data storage, business logic, authentication and integrations. The two communicate through APIs, and full-stack developers work across both.
What languages and frameworks are used for front-end development?
On the web, front-end development uses HTML for structure, CSS for presentation and JavaScript or TypeScript for behavior, often with frameworks such as React, Angular, Vue or Svelte. Mobile front ends are commonly built with Swift, Kotlin or cross-platform frameworks. Many teams also maintain a shared component library that implements their design system.
How do you measure front-end performance?
Google's Core Web Vitals are a common standard. Largest Contentful Paint should be 2.5 seconds or less, Interaction to Next Paint 200 milliseconds or less, and Cumulative Layout Shift 0.1 or less. Google assesses them at the 75th percentile of real page loads, so test on ordinary devices and networks rather than fast developer machines.
Related terms
Back End
Server-side code, data and services behind what users see.
User Interface (UI)
The screens, controls and prompts people use to operate a product.
User Experience (UX)
Everything people perceive and feel when they use a product.
Accessibility Guidelines
Published standards, led by WCAG, for building products disabled people can use.