Frontend and backend of a website: what they are
What is the frontend and backend of a website? A plain UK guide to what each does, the technologies involved, how they connect and who you need to hire.
The frontend of a website is the part visitors see and use in their browser, such as layout, buttons and menus. The backend is everything behind the scenes: the server, database and application logic that store data, process requests and send the right information to the frontend.
A website has two halves: the visible interface people use in a browser (the frontend), and the server-side systems and databases that process requests and store data (the backend). If you are commissioning a site or custom software, knowing which half is which helps you ask better questions and compare quotes fairly.
At a glance
- HTML for structure, CSS for styling and JavaScript for interactivity build the frontend, and all three run in the visitor’s browser (MDN).
- On the server side, the backend uses server-side languages and frameworks, and typically involves databases and APIs.
- A login, checkout or contact form involves both: the frontend shows the form, the backend checks and stores what is submitted.
- Developers who work on both sides are called full-stack developers.
- PS Up North has designed and built bespoke software since 2009, covering both frontend and backend work.
What is the frontend of a website?
Everything a visitor sees and interacts with in their browser is the frontend of a website, which is why it is also called the client side. Anything you can look at, click or type into belongs to it.

Typical frontend elements include:
- Layout, colours and fonts
- Images and video
- Navigation menus
- Buttons and forms
- Animations and small interactive touches
HTML, CSS and JavaScript
Three web technologies do the work, and MDN, the Mozilla developer documentation, describes them as the core of the web standards model.
- HTML gives a page its structure: headings, paragraphs, links and forms.
- CSS controls how that structure looks: colours, spacing, fonts and layout.
- JavaScript adds behaviour, such as opening a menu, checking a form or updating a basket without reloading the page.
Responsive design and accessibility
Making a site work on phones, tablets and desktops is also a frontend job. That is called responsive design, meaning the layout adjusts to the screen size. It matters. Accessibility is part of it too, so people using screen readers, keyboards or larger text can still use the site.
Why frontend speed matters
Frontend code runs on the visitor’s own device. Heavy images, bloated scripts and clumsy layouts all slow down how quickly a page feels, whatever the server is doing. When someone says a site feels slow, the cause is often on this side.
What is the backend of a website?
Out of sight, the server, database and application logic power what the frontend shows. Visitors never see them directly, but they rely on them every time they log in, search or buy something.

Servers, databases and APIs in plain language
- A server is a computer that is always on and connected to the internet, waiting to receive requests and send back answers.
- A database is organised storage for information such as customer records, orders, products and messages.
- An API (application programming interface) is a defined way for two pieces of software to ask each other for information or actions. Think of it as a messenger with agreed rules.
What the backend does day to day
Backend work covers jobs such as:
- Storing orders and customer records
- Checking passwords and permissions
- Sending confirmation emails
- Calculating prices, discounts and delivery costs
- Connecting to payment, stock or accounting systems
Languages and frameworks
Backends are written in server-side languages, often with a framework, which is a ready-made toolkit that saves developers building common features from scratch. PHP, Python, Node.js (JavaScript on the server), C# and Ruby are all widely used. The right choice depends on the project, the team and what it needs to connect to.
Hosting and security
Hosting and security decisions sit in the backend too. Hosting means where the server lives and who looks after it. Security means keeping customer data protected through measures such as encrypted connections, careful access controls, sensible password handling and regular updates. A business holding personal data in the UK also has legal duties under data protection law, so these choices are not just technical.
What is the difference between frontend and backend?
Users see and touch the frontend, the backend makes it work, and neither is useful alone. A restaurant is a fair comparison: the dining room is the frontend, the kitchen is the backend, and a customer needs both to get a meal.

| Aspect | Frontend | Backend |
|---|---|---|
| What it does | Presents information and lets visitors interact with it | Stores data, applies rules and processes requests |
| Where it runs | In the visitor’s browser, on their device | On a server |
| Typical technologies | HTML, CSS, JavaScript and related libraries | Server-side languages, frameworks, databases and APIs |
| What a visitor would recognise | Menus, buttons, product pictures, forms | Order confirmations, saved baskets, account details, emails |
| What goes wrong when it fails | Broken layout, buttons that do nothing, a site that is hard to use on a phone | Errors on submitting a form, failed logins, missing orders, slow or unavailable pages |
A site can look polished and still fail because the kitchen cannot cope. The reverse is just as true. A strong backend behind a confusing frontend leaves customers unable to find what they need. The Wix guide to frontend and backend makes a similar split if you want a second view.
How do the frontend and backend work together?
The browser sends a request, the backend processes it and the frontend displays the response. That cycle repeats every time someone clicks, searches or submits something on a dynamic website.
An example: logging in
- The visitor opens the login page and sees the form.
- They type their email and password and press the button. JavaScript can check at once that the fields are not empty.
- The browser sends the details to the server as a request.
- Next, the backend looks up the account in the database and checks the password.
- After that, the backend sends back a response: success, or an error message.
- Finally, the visitor sees the result, either being taken to their account or shown a clear message.
A checkout works the same way, with more steps: the backend confirms stock, calculates the total, takes payment through a payment provider and saves the order.
APIs as the messenger
The API is the agreed channel between the two halves. One side asks for something in a set format, and the other answers in a set format. Because the rules are clear, each half can be built, tested and even replaced separately. The same API can also feed a mobile app.
Static sites versus dynamic sites and web apps
A static site serves the same pre-built pages to everyone and needs very little backend. A dynamic site builds pages on request using stored data, for example showing each customer their own orders. A web app, such as a booking system or client portal, is dynamic by nature. It leans heavily on its backend.
Does every website have a backend?
Simple brochure sites may have almost no custom backend, while shops, portals and booking systems depend on one. The more a site needs to remember, calculate or connect to, the more backend it needs.
Website builders and WordPress
Website builders and WordPress hide the backend, but it still exists. With a builder, the provider runs the servers and databases for you. With WordPress, the backend is the PHP code and database that store your pages, posts and settings, while the theme controls much of the frontend. You manage it through a dashboard rather than writing code.
When off-the-shelf stops being enough
Ready-made tools suit many businesses well. A custom backend becomes worth considering when you need to:
- Run a process that no plugin handles properly
- Connect several systems, such as your website, stock, CRM and accounts
- Give customers or staff a secure portal with their own data
- Handle more users or data than a patchwork of plugins copes with
This is where bespoke software earns its place.
What is full-stack development?
A full-stack developer is someone who works on both the frontend and the backend. Whether you need one person or several specialists depends on the size and complexity of the project.
Small projects and larger ones
For a small site or a focused tool, one full-stack developer can often cover everything, which keeps communication simple. Larger projects, with heavy traffic, complex rules or many integrations, tend to benefit from separate frontend and backend specialists working to a shared plan. Even then, someone needs to own how the two fit together.
Do frontend or backend developers earn more?
Backend roles often pay slightly more at senior level, but the gap is small and varies by employer, location and experience. Salary benchmarks such as TeamCalc’s engineering salary benchmarks are a place to check current figures. We would rather you look at up-to-date data than rely on a number quoted here. For a business commissioning work, the more useful question is not who earns more but who has built something similar to what you need.
What should a business owner ask for when commissioning a website or software?
Ask who is responsible for both sides and how they will be built, hosted, secured and maintained. A clear answer to that tells you whether the supplier has planned the whole system or just the part you can see.
Questions worth putting to any developer
- Where will our data be stored, and in which country?
- How is it backed up, and how quickly can it be restored?
- Who owns the code and the content when the project is finished?
- Who looks after hosting, updates and security afterwards?
- What happens if we want to change supplier later?
- How will the site cope if traffic grows?
Why a beautiful frontend is not enough
A strong design on top of a weak backend tends to fail in three places. Pages load slowly because the server is struggling. Customer data is exposed because security was an afterthought. And the system cannot scale, so success becomes a problem rather than a reward. Ask to see how the backend will be handled, not just the design mock-ups.
Where AI features fit
AI features sit mostly in the backend but show up in the frontend. A chat assistant, a smart search or an automatic document summary all run their processing on the server, then present the result through the interface visitors use. That means adding AI to a site is partly a backend job, involving data access, security and cost control. We put practical AI to work inside the websites and systems you already run, so it can be added without starting from scratch.
How PS Up North builds both sides
We design and build bespoke software, so the frontend and backend are planned together rather than treated as separate jobs. That keeps the design, the data and the logic behind them pulling in the same direction.
We work with UK businesses from Leeds and Yorkshire and online. As well as client projects, we ship our own SaaS products, and we add practical AI to existing websites and systems where it genuinely helps.
Weighing up a new website, a customer portal or a custom system? If you want to talk through both sides before you commit, get in touch with PS Up North. We will happily discuss your project and give you plain answers.
Frequently asked questions
Is the frontend or backend more important?
Neither is more important, because a website needs both to work. How easy the site is to use comes down to the frontend, while the backend decides whether it is fast, secure and reliable.
Can a website work without a backend?
Yes, a simple static website can work with very little backend. It shows the same pages to every visitor. Once you need logins, payments, bookings or stored customer data, a backend becomes essential.
Is WordPress frontend or backend?
WordPress covers both. Its theme controls much of what visitors see, while its PHP code and database handle storage and processing behind the scenes. The dashboard you log in to is the admin area for managing the backend.
What languages are used for frontend and backend?
HTML, CSS and JavaScript make up the frontend. Server-side languages such as PHP, Python, C#, Ruby or JavaScript running on Node.js power the backend. The right choice depends on the project and what it needs to connect to.
What is a database in web development?
A database in web development is organised storage that holds a website’s information, such as customer accounts, products and orders. Whenever the frontend asks for something, the backend reads from it and writes to it.
Is web development still worth it in 2026?
Yes, businesses still need websites, portals and custom systems, and AI features have added more work on both sides. Tools make simple sites quicker to build, but well-planned, secure and connected systems still need skilled people.
What is a web frontend?
A web frontend is the part of a website that runs in the visitor’s browser and that they see and use. It is built with HTML, CSS and JavaScript and covers layout, navigation, forms and everything else on screen.