Frontend vs Backend vs Full Stack
Part of the Web Development Roadmap
In short
Every job post says frontend, backend or full stack. Knowing what each side actually does helps you understand what you're learning in each phase of this roadmap, and which side you might enjoy most.
Frontend is everything that runs in the browser and the user sees, backend is the server, database and logic behind it, and a full stack developer works comfortably on both sides.

Think of it like this
The restaurant dining room and kitchen
In a restaurant, the dining room is what guests see: the menu, the tables, the waiter taking your order. That's the frontend. The kitchen, the storeroom and the billing counter are hidden, but they cook the food, track stock and keep the accounts. That's the backend. A full stack developer is like a manager who can work comfortably in both rooms.
Watch it happen
Booking a train ticket, front to back
Clicks Search: Delhi to Jaipur
1/6The frontend shows the form, checks the date isn't empty and sends the search.
The big ideas
What you need to know
Frontend runs in the browser
HTML for structure, CSS for looks, JavaScript for behaviour, often with React. It's about layout, clicks, forms and speed on a phone.
Backend runs on a server
Node.js with Express, Python, Java and others. It handles login, business rules, payments and reading or writing the database.
The database remembers
Users, orders and posts are stored in a database like PostgreSQL or MongoDB, which only the backend talks to directly.
Full stack connects both
A full stack developer can build a feature end to end. They don't know everything, but they understand how the pieces talk to each other.
See it in code
Walk through the code
1// FRONTEND: runs in the browser (script.js)2const res = await fetch("/api/trains?from=DLI&to=JP");3const trains = await res.json();4console.log(trains.length + " trains found");5 6// BACKEND: runs on the server (server.js, Express)7app.get("/api/trains", async (req, res) => {8 const trains = await db.findTrains(req.query.from, req.query.to);9 res.json(trains);10});1/4The frontend asks the backend for data and reads the JSON reply.
Two halves of one feature. You'll write both halves yourself by Phase 12. Here db.findTrains is a stand-in for real database code.
Save yourself the pain
Common mistakes
Oops
Thinking backend means 'harder' and frontend means 'just design'.
Do this instead
Both are real engineering. Frontend has tricky state, performance and accessibility problems; backend has data, security and scale problems.
Oops
Trying to learn every framework on both sides at once.
Do this instead
Learn the basics of each side in order, as this roadmap does, then go deep in the side you enjoy.
Your mission
Split an app you use
Quick check
Checking that a coupon code is valid and hasn't expired should happen mainly where?
Go deeper
- 1Take an app like a railway booking site and list which features belong to the frontend and which to the backend.
- 2Read three junior job posts and note which skills each side asks for.
- 3Keep a note of which side you enjoy more as you work through this roadmap.
More topics at this stop
Stuck on this topic? Ask an Insider
Get 1:1 guidance from people who've walked this exact path — on the InsideEdge app.