Development

Frontend

AI-assisted editorial review:

Frontend (front-end) development is the part of building a website or app that users see and interact with directly: layouts, buttons, menus, forms and animations. For websites, frontend code is mainly written in HTML, CSS and JavaScript and runs in the user's web browser, where it handles how data is structured and presented.[1][2]

What does Frontend mean in simple terms?

Think of a restaurant. The frontend is the dining room: the seats, the menu and the way staff greet you — everything a guest sees and experiences. The backend is the kitchen and storeroom, which run on a server.[2] HTML structures the content, CSS styles it and JavaScript makes it interactive.[2] Additional libraries and frameworks can build on these basics. React, a library for building user interfaces from reusable components, was the most-used front-end framework at work among State of JavaScript 2024 respondents.[3][4] Frameworks such as Next.js and styling tools such as Tailwind CSS are built around this approach.[5][6] AI tools such as Vercel's v0 can now generate interface code from a plain-language description, so non-developers can build a first prototype screen.[7][8]

How can Frontend be explained with an analogy?

The frontend is a restaurant's dining room, and the backend is the kitchen. Guests experience everything in the dining room, but the dining room only works if the kitchen delivers.

Where is Frontend used?

Case 1

Vodafone — A faster page lifted sales

Vodafone ran an A/B test on a landing page. The two versions looked and worked the same, but version A was optimised for loading speed: some rendering moved from the browser to the server, critical HTML was rendered on the server, and images were resized and optimised.[9] Version A's Largest Contentful Paint (the time until the main content appears) was 31% better in real-user data.[9]
Result: 8% more sales, a 15% better lead-to-visit rate and an 11% better cart-to-visit rate for the optimised version (Vodafone A/B test reported on web.dev, 2021).[9]

Case 2

v0 — Generating a screen from a description

Vercel introduced v0 in 2023 as a tool that turns a description of an interface into code using open-source tools such as React, Tailwind CSS and shadcn/ui; users pick a version, keep editing and copy the code into their app.[7] Vercel reported 100,000 waitlist sign-ups in the first three weeks.[7] As of October 2026, v0's documentation describes it as an AI agent that can also connect to a backend and deploy full-stack apps, and lists product managers, designers and founders among its users.[8]
Result: A first screen can be prototyped from a prompt, but the generated code still needs review before production use.[7][8]

Why it matters now

First, AI tools can help produce a first version of a screen. Tools such as v0 generate React and Tailwind CSS code from a description or a mockup, and the result can be checked visually right away.[7][8]

Second, the common building blocks are well established. React was the most-used front-end framework at work among State of JavaScript 2024 respondents, and Next.js is a React framework that adds routing, optimisation and build tooling.[4][5] This is a survey of self-selected respondents, so treat it as a signal of popularity, not a market share.[4]

Third, the frontend is often where non-developers can start. Designers, product managers and founders can use AI tools to turn a mockup into a working prototype before involving engineers.[8]

Try it today

  1. Open a page you use often, right-click and choose "Inspect" to see the HTML and CSS behind it.[1]
  2. Run your company's main page through a page-speed tool and note how long the main content takes to appear.[9]
  3. Describe one screen you need (for example, a sign-up form) in an AI UI tool and review the generated code with a developer.[7][8]
  4. Check the result on a phone as well as a desktop browser.

Limits and direction

The frontend handles presentation; data storage, accounts and payments still depend on server-side code.[2] Users run different browsers, so handling differences in browser support is part of the job.[2] AI-generated screens are a starting point: check accessibility, security and performance before release. Speed has business value, as Vodafone's test showed, but the size of the effect depends on the site.[9]

How has Frontend evolved?

2013-06-05
React introduced
Facebook's React team explained React as a library for building composable user interfaces from reusable components.[3]
2020-11-18
Tailwind CSS v2.0
Tailwind Labs released Tailwind CSS v2.0, its first major update, with a new colour palette and dark mode support.[6]
2023-10-11
v0 enters beta
Vercel moved v0, which generates interface code from text descriptions, from alpha to beta.[7]

Which concepts are related to Frontend?

  • Opposite side
    BackendThe frontend is the screen in the browser; the backend runs on the server and handles data and databases.[2]
  • Broader scope
    Full-stackFull-stack work covers both frontend and backend.
  • Common framework
    Next.jsNext.js is a React framework for building full-stack web applications.[5]

Frontend vs Backend

ComparisonFrontendBackend
RoleStructure and presentation of what users see [2]Controls what data is sent, often from a database [2]
Where it runsIn the user's web browser [2]On a web server [2]
Typical languagesHTML, CSS, JavaScript [2]For example PHP, Python, Ruby, C#, JavaScript (Node.js) [2]
Frameworks help withLayout and presentation tasks [2]Sessions, user authentication, database access [2]

Which sources explain Frontend?

  1. MDN Web Docs — Learn web development (accessed 2026-10-13) — https://developer.mozilla.org/en-US/docs/Learn_web_development
  2. MDN Web Docs — Introduction to the server side (accessed 2026-10-13) — https://developer.mozilla.org/en-US/docs/Learn_web_development/Extensions/Server-side/First_steps/Introduction
  3. React Blog — Why did we build React? (2013-06-05) — https://legacy.reactjs.org/blog/2013/06/05/why-react.html
  4. Devographics — State of JavaScript 2024: Front-end Frameworks — https://2024.stateofjs.com/en-US/libraries/front-end-frameworks/
  5. Next.js — Next.js Docs: What is Next.js? (accessed 2026-10-13) — https://nextjs.org/docs
  6. Tailwind Labs — Tailwind CSS v2.0 (2020-11-18) — https://tailwindcss.com/blog/tailwindcss-v2
  7. Vercel — Announcing v0: Generative UI (2023-10-11) — https://vercel.com/blog/announcing-v0-generative-ui
  8. v0 — What is v0? (docs, updated 2026-10-09) — https://v0.app/docs
  9. web.dev — Vodafone: A 31% improvement in LCP increased sales by 8% (2021-03-17) — https://web.dev/case-studies/vodafone