What the front end includes
The front end is everything that happens in the visitor's browser. It covers the page layout, colours and fonts, the mobile menu, galleries, forms and animations. It is built from three layers: HTML defines the content and structure, CSS the appearance and JavaScript the behaviour. The data the front end displays is supplied by the back end on the server.
Why it matters
The front end is what customers judge a website by. They do not see how good the order system behind it is. They see whether the page loads quickly, whether they can find the "Add to basket" button and whether the form can be filled in on a phone without zooming. A poor front end drives people away even when everything else is fine.
The front end also has a big effect on speed. Heavy images, dozens of scripts and large stylesheets often slow a site down more than the server itself.
A real-world example
A guesthouse in Orava had a nice website, but its booking form fell apart on mobile – the calendar spilled off the screen and the submit button was not visible. The back end worked flawlessly, yet bookings only came in from computers. After the front end was fixed, meaning the form layout was adapted for small screens, bookings started arriving from phones too.
What to watch out for
- Test on a real phone, not just by shrinking the window on your computer.
- Less is more. Every slider, animation or pop-up adds code that has to be downloaded.
- Readability before effects. A large enough font and good contrast matter more than flashy transitions.
- Consistent style. Buttons and headings should look the same across the whole site so visitors can find their way around quickly.
When building websites, I handle the front end from design through to fine-tuning on different devices, so the site looks good and is fast. The look of the front end is created in the website design, which is then turned into code.