How software works · Guide for product managers

Frontend for product managers

The frontend is the part of your product users actually see and touch. Knowing how it is built explains why "just move this button" takes five minutes while "show this number here" can take a sprint — and helps you make better calls on performance, SEO and accessibility.

Guide 2 of 13 in the technical PM path

10 min read · Updated · By the TechPMer team

Why a PM should care

The three layers of every web page

Layer What it does Analogy
HTML The structure and content: headings, paragraphs, buttons, forms The walls and rooms of a house
CSS The presentation: layout, colors, fonts, spacing, responsive behaviour Paint, furniture and lighting
JavaScript The behaviour: reacting to clicks, loading data, updating the page Electricity and plumbing

Everything a browser shows ends up as these three, no matter which framework produced them.

Frameworks and components

Writing large apps in plain JavaScript gets messy, so most teams use a framework — React is the most common, alongside Vue, Angular and Svelte.

Their key idea is the component: a reusable piece of UI with its own structure, style and behaviour — a Button, a PricingCard, a TaskList. Screens are built by combining components, which is why a design system (a shared set of components) makes teams faster and the product more consistent.

<TaskCard title="Write release notes" dueDate="2026-10-01" status="open" />

Here title, dueDate and status are props — the data passed into the component. If the API does not provide a field, the component cannot show it.

State: what the screen remembers

State is the data the UI currently holds: the text in a search box, whether a menu is open, the list of tasks loaded from the server, who is signed in.

Many frontend bugs are state bugs:

When engineers talk about "state management", they mean deciding where each piece of data lives and how changes flow through the screens. Specific libraries come and go; the underlying question stays the same.

SPA vs server rendering (and why it matters for SEO)

Approach How it works Good for Watch out for
Single-page app (SPA) The browser downloads JavaScript, which then builds the page and fetches data App-like dashboards behind login Slower first load; search engines and link previews may see less content
Server-side rendering (SSR) The server sends ready-made HTML, then JavaScript makes it interactive Public pages that must rank and share well More moving parts on the server
Static generation HTML is built ahead of time and served from a CDN Marketing pages, docs, blogs Content changes need a rebuild

Many products mix them: static or server-rendered marketing and content pages, and an SPA behind login. That is a product decision as much as a technical one.

Performance basics

Google's Core Web Vitals summarise what users feel:

Common causes of slowness: huge images, too much JavaScript, many sequential API calls, and fonts or scripts from third parties (chat widgets, trackers). Every "just add this script" request has a performance cost.

Accessibility

Accessible frontends work for people using keyboards, screen readers, zoom or high-contrast settings. The basics are simple and cheap when built in from the start: real buttons and links (not clickable divs), labels on form fields, enough colour contrast, visible focus, and alt text on meaningful images. Retrofitting later is much more expensive.

What engineers may tell you

Questions a good technical PM asks

  1. Which states does this screen have — loading, empty, error, success, no permission?
  2. Does this change need new data from the API, or only a UI change?
  3. Does this page need to be indexed by search engines or shared on social media?
  4. How will this behave on a slow phone and a small screen?
  5. Can it be used with a keyboard and a screen reader?

Red flags

Using an AI coding agent for frontend work

Agents are very good at building components quickly. Give them the design (a screenshot helps), the states you expect, and constraints: "use our existing Button and Card components", "mobile first", "keyboard accessible", "no new dependencies". Then check the result on a real phone and with the keyboard only (Tab, Enter, Esc).

Try it yourself

Open your product in the browser, press F12 and use the element picker to click any button. You will see its HTML and CSS. Then open the Lighthouse tab and run a report — it scores performance, accessibility and SEO and lists concrete improvements you can bring to your team.

In the TechPMer course, week 4 (“Choosing the Stack”) covers SPA vs SSR decisions and week 5 (“Scaffold the App & Build the Frontend”) builds the frontend of your own project with an AI agent.

Start with week 1 — free

No credit card. Open the first week as a guest, create a free account to save progress and unlock week 2 and the AI mentor.

Start learning Compare plans