What it is
Everything you can see and click is the frontend: the layout, the words, the photos, the menu, the contact form, and how it all looks on a phone and on a laptop. It's built with HTML for the content, CSS for how it looks, and JavaScript for anything that moves or reacts.
In an app, the frontend is the screens you tap through.
An example
On a booking site, the frontend is the calendar you pick a date from, the form you fill in and the confirmation you see at the end. Where the booking is saved, and the email that follows, is the backend.
Why it matters to you
The frontend is the part your customers judge you on:
- A slow or messy page loses people before they read a word.
- It has to work on a phone, because that's where a lot of people will find you.
- It has to be easy for everyone to use, including people using a screen reader or larger text.
- It's what search engines read, so how it's built affects whether you turn up.
Does every website have one?
Yes. Every website has a frontend. Not every website needs much of a backend. A site with your services, photos and a phone number is mostly frontend, which keeps it fast and cheap to host. A contact form needs a small backend to send the email, and that's about it.