Websites and Tech

Front End

Also called frontend, front-end, client side

The part of a website that runs in the visitor's browser, built from HTML, CSS and JavaScript, covering everything people see and interact with.

Quick facts: Front End

Category
Websites and Tech
Also called
frontend, front-end, client side
Level
Beginner
Affects
Page speed, Core Web Vitals, crawlability, accessibility, conversion rate
Where to see it
PageSpeed Insights, Chrome DevTools, Lighthouse, view page source, Search Console URL Inspection
In this article4
  1. How the front end works
  2. Why it matters
  3. Common mistakes
  4. How to act on it

The front end is the part of a website that runs in the visitor’s browser: the layout, text, images, menus, forms and buttons people see and use. It is built from three languages: HTML for structure and content, CSS for appearance and JavaScript for behaviour.

How the front end works

When someone opens a page, the server, or back end, sends the browser an HTML document. The browser reads it, fetches the CSS, JavaScript, fonts and images it refers to, and builds the page on screen. This process is called rendering. CSS decides colours, spacing and how the layout adapts from a phone to a desktop. JavaScript adds interactivity: menus that open, forms that check their fields, sliders, maps and tracking tags.

Sites differ in how much work happens in the browser. On a traditional WordPress site, the server sends finished HTML and the browser mainly displays it. On sites built with JavaScript frameworks such as React or Vue, the browser may receive a nearly empty page and build the content itself. That approach can feel quick once loaded, but it puts more work on the visitor’s device and on search engines.

Why it matters

The front end is where customers judge your business. A page that loads slowly, jumps around as images arrive or has buttons too small to tap on a phone loses enquiries, however good the service behind it. Google measures this experience through Core Web Vitals: how quickly the main content appears, how promptly the page reacts to taps and clicks, and how stable the layout is while loading. Almost every fix for those measures is a front-end fix: smaller images, less JavaScript, CSS that loads efficiently and space reserved for elements that load late.

The front end also decides what search engines can read. Google can process JavaScript, but it does so in a second stage that can be delayed, and many other crawlers, including most AI crawlers, read only the initial HTML. Content or links that only exist after JavaScript runs are at risk of being missed, which is the core issue in JavaScript SEO. Accessibility lives here too: correct headings, labelled form fields and readable contrast help disabled visitors and meet the expectations behind the Equality Act 2010.

Common mistakes

  • Heavy page builders and themes that load large CSS and JavaScript files on every page, whether they are used or not.
  • Uncompressed images uploaded straight from a camera or design tool.
  • Important content rendered only by JavaScript Such as service descriptions inside tabs that load on click.
  • Too many third-party scripts Chat widgets, heatmaps, review badges and several tracking tags all competing to load.
  • Designing for desktop first and treating the phone layout as an afterthought, when your own analytics will often show a large share of visitors arriving on mobile.

How to act on it

Run your key pages through PageSpeed Insights and note which Core Web Vitals fail on mobile. The diagnostics list the biggest front-end causes, usually images, unused JavaScript and render-blocking files. Then view the page source (not the inspector) and check that your main content and navigation links are in the HTML the server sends.

Remove plugins and third-party scripts you do not need, compress images and test changes on a staging copy. If the problems come from the theme or framework itself, that is a bigger decision about the build. Diagnosing front-end speed and crawlability issues, and prioritising the fixes that matter, is a central part of technical SEO.

Do and do not

Do

  • Check main content is in the server-sent HTML
  • Compress images before uploading
  • Test changes on mobile first

Do not

  • Load every script on every page
  • Hide important content behind click-to-load tabs
  • Add a plugin for every small feature

Questions people ask about this

What is the difference between front end and back end?

The front end runs in the visitor's browser and covers everything they see and click. The back end runs on the server and handles data, logins, the database and the content management system. A contact form has both: the fields and button are front end, and saving or emailing the submission is back end.

Does the front end affect SEO?

Yes, in two main ways. It determines page speed and usability, which Google measures through Core Web Vitals, and it determines whether content and links are visible in the HTML search engines read. A well-built front end makes a site faster for visitors and easier for crawlers to understand.

Do I need a front-end developer or can I use a page builder?

Page builders are fine for many small business sites, as long as you keep an eye on speed and avoid adding a plugin for every feature. A developer becomes worthwhile when Core Web Vitals keep failing, when you need custom functionality, or when the site has grown to the point where the builder's overhead is holding it back.

Related terms

Found this useful?

Share it, or ask an AI to summarise it

Back to the glossary

Knowing the term is the easy part

Applying it to your own site and budget is the work. Book a call and I will tell you what actually applies to you.