designwithfocus

Back end & development

Full Stack Developer vs Front End: Browser, Server, and Data

By Design With Focus Team 6 min read
A browser window beside a server and a database cylinder

Short answer

Front-end code runs in the browser, and a full stack role also includes the server and the data. MDN says client-side code improves how a page looks and behaves, using HTML, CSS, and JavaScript. Server-side code, also called back-end scripting, chooses the content that comes back and uses a database. Node.js is one server-side JavaScript runtime MDN names. That page does not use the job title full-stack developer, and it prints no salary.

Last verified against the sources listed below.

Key takeaways

  • Client-side code runs in the browser and is mainly about appearance, layout, navigation, and form checks.
  • MDN says that code is written with HTML, CSS, and JavaScript, with little access to the operating system.
  • Server-side code chooses which content is returned and reads or stores data in a database.
  • MDN's server-side language examples include PHP, Python, Ruby, C#, and JavaScript with Node.js.
  • Node.js is a JavaScript runtime for network applications. Its hello-world sample listens on port 3000.
  • The pages opened here do not print a salary for either role.

Full stack developer vs front end is a split between code that runs in the browser and work that also includes the server and the data. MDN’s server-side introduction never uses the job title full-stack developer. It does separate client-side code from server-side code, and it puts the database on the server side. That is the split this comparison uses.

No salary appears on the pages opened here, so none is stated. The table is the short version of where the code runs.

What does front-end code do?

Front-end code runs in the browser and is mainly about how the page looks and behaves. MDN’s name for that code is client-side code. It includes selecting and styling UI components, creating layouts, navigation, and form validation.

The languages MDN names for that work are HTML, CSS, and JavaScript. The code runs inside a web browser and has little or no access to the operating system, including limited access to the file system. Developers cannot control which browser each person uses. Browsers support client-side features unevenly, and part of the work is handling those differences.

MDN’s browsing guide says a web page is a document that can be displayed in a web browser, written in HTML, and that it can include style, scripts, and media. A website is a collection of those pages, connected by links. The front-end job is that document and the code that changes it in the browser.

The SVG to JSX tool turns an SVG into a React component. That file is browser UI. It is not a database and it is not an HTTP server.

What does the server and the data add?

The server decides which content comes back, and a database is where MDN says that content is stored. A dynamic website generates some of the response only when it is needed. HTML pages are normally built by inserting data from a database into placeholders in templates.

Most of the code for that site must run on the server. MDN calls creating it server-side programming, or sometimes back-end scripting. For a dynamic request, the server interprets the request, reads the database, combines the data with HTML templates, and sends the generated HTML. It can also return JSON or XML for a client-side framework to render, which moves some of the work back to the browser.

Server-side code validates submitted data and requests, stores and retrieves data, and sends the correct data to the client. It has full access to the server operating system. The developer chooses the language and the version. MDN’s examples are PHP, Python, Ruby, C#, and JavaScript (Node.js).

A full stack role, in the ordinary sense of this comparison, is the browser work plus that server and data work. MDN does not define a job title for the combination. It does say you would almost never write the server side of a web app without a framework, because an HTTP server is hard to build from scratch, while client-side code can be written by hand for a small interface.

Question Front end Full stack, using MDN’s split
Where it runs In the browser In the browser, and on the server
MDN’s name Client-side code Client-side plus server-side, or back-end scripting
Languages MDN names HTML, CSS, JavaScript Those, plus PHP, Python, Ruby, C#, or Node.js
Data What the browser is showing A database the server reads and writes
OS access Little or none Full access on the server
Salary on these pages Not printed Not printed

Where does JavaScript sit?

JavaScript can run in the browser or on the server, which MDN treats as the exception. The browser copy is the client-side script. On the server, MDN’s list allows JavaScript through Node.js.

Node.js describes itself as an asynchronous, event-driven JavaScript runtime designed to build scalable network applications. The about page’s hello-world server uses hostname 127.0.0.1 and port 3000, answers with status 200, and returns the text Hello World. That process sleeps when there is no work. It is a network program, not a page layout.

ECMAScript 2025 is the language specification, and it does not say which of those two places a program runs. The same language can be the script in the browser and the script in Node. The front-end job stops at the browser, while the server job is the runtime, the request, and the data.

JavaScript is the language both sides can share.

Back-end development is the server half MDN also calls back-end scripting. Full stack is the combination, not a third language.

When does each description fit?

Use the front-end description when the task is the page in the browser. That is layout, styling, navigation, form validation, and the HTML document MDN says a browser displays. A small interface can be written by hand. Client-side frameworks exist to speed that work, and MDN says they are optional.

Use the full stack description when the same work also includes the server and the data. That is the dynamic site: a request, a database read or write, a template or a JSON response, and the browser code that shows the result. MDN’s examples of why that exists include storing many products or posts without a separate static file for each one, and returning different data for one URL based on the user.

The pages do not say one person must hold both jobs. They say the code has different purposes, usually different languages, and different operating environments. JavaScript is the overlap, and a database query is not.

An HTML link is not a server either. The HTML standard says an a element with an href is a hyperlink labeled by its contents, and that element is part of the document the browser shows.

Choose front end when the brief stops at that document. Choose the wider role when the brief also includes the server program and the database behind it. The sources name the technical split and stop there. They do not price the work.

Frequently asked questions

What is the difference between a front-end developer and a full stack developer?

Front-end work is the code that runs in the browser. MDN calls that client-side code and says it is mainly about how a rendered page looks and behaves: UI components, layouts, navigation, and form validation, written in HTML, CSS, and JavaScript. Full stack, in this comparison, adds the server-side work MDN describes: choosing which content returns, checking submitted data, and using a database. MDN does not say full-stack developer. It calls the server work server-side programming or back-end scripting.

What runs in the browser?

HTML, CSS, and JavaScript that the browser executes. MDN says client-side code has little or no access to the operating system, including limited access to the file system. Developers do not control which browser each visitor uses, and browsers differ in which features they support, so part of the work is handling those differences. A web page, in MDN's browsing guide, is a document a browser can display. Style, scripts, and media such as images can be part of that document. That is the front-end surface.

What does the server add?

The server answers HTTP requests and can build the response from data. MDN says a dynamic site normally creates HTML by inserting database data into templates, which stores large amounts of content more efficiently than a static file per item. Server-side code checks submitted data, stores and retrieves it, and sends the right data to the client. It can also return JSON or XML for a client-side framework to render. Unlike browser code, it has full access to the server operating system.

Can JavaScript be both front end and server?

Yes. MDN says the two sides generally do not use the same languages, with JavaScript as the exception that can run on the server and on the client. Its server-side examples are PHP, Python, Ruby, C#, and JavaScript (Node.js). Node's about page calls Node.js an asynchronous, event-driven JavaScript runtime designed to build scalable network applications. The sample server listens on 127.0.0.1 port 3000. That process is not the browser. The language can be the same. The place it runs is not.

Do these pages list a salary?

No. The MDN server-side introduction, the MDN page on browsing the web, the Node.js about page, and the ECMAScript 2025 specification do not print a wage for front-end work or for server-side work. This comparison does not add one. The useful split on those pages is where the code runs and whether a database is part of the job. Pay depends on employer, city, and seniority, and none of those inputs appear in the documents opened here.

Sources