Lesson 12 of 14
A website becomes an installable, icon-on-the-home-screen app through a JSON manifest and a handful of head tags, not an app store submission — and an installed PWA is a real, free retention channel independent of app-store ad spend.
11 min read
Every option explains itself — why the right one is right, and why each wrong one is wrong. Miss one and it comes back later on a spaced-repetition schedule.
This topic is about judgment and practical tradeoffs more than a single right answer — a mock interview is the better way to test yourself on it.
Be interviewed on this →Hints without spoilers, and a plain explanation of why a wrong answer was wrong — answered only from this lesson. Free account, no card.
Sign up freeWhat interviewers actually ask about this, and what a strong answer has to cover.
A strong answer covers
Likely follow-ups
A website becomes an installable, icon-on-the-home-screen app not through an app store submission, but through a handful of HTML tags and one JSON file — the web app manifest. Getting a user to install your site is a real, free, app-store-independent retention channel: an installed PWA gets a home-screen icon, opens without browser chrome, and can become a standing habit the way a bookmark never does. This is squarely a marketing/growth lever, not just a technical curiosity.
Three pieces do the actual work:
<link rel="manifest" href="/manifest.webmanifest"> points the browser at a JSON file describing the app's name, icons, start URL, and display mode.<meta name="theme-color" content="#..."> colors the browser UI (status bar, task switcher) to match your brand, both installed and in a normal tab.<link rel="apple-touch-icon" href="..."> is Apple-specific and layered on top of the manifest, because Safari on iOS still doesn't fully implement the Web App Manifest spec — without it, an iOS user who adds your site to their home screen gets a screenshot thumbnail instead of your icon.<head>
<link rel="manifest" href="/manifest.webmanifest" />
<meta name="theme-color" content="#0f172a" />
<link rel="apple-touch-icon" href="/icons/apple-touch-icon-180.png" />
</head>
// manifest.webmanifest
{
"name": "Praxis — Frontend Interview Prep",
"short_name": "Praxis",
"start_url": "/learn",
"display": "standalone",
"background_color": "#0f172a",
"theme_color": "#0f172a",
"icons": [
{ "src": "/icons/icon-192.png", "sizes": "192x192", "type": "image/png" },
{ "src": "/icons/icon-512.png", "sizes": "512x512", "type": "image/png" }
]
}
display: "standalone" is what strips the browser's URL bar and back/forward buttons once installed — the app-like presentation the manifest exists to enable.
apple-touch-icon is a separate, older, Apple-only tag that predates the Web App Manifest spec, and Safari still leans on it instead of the manifest's icons array.theme-color isn't cosmetic-only — it's what makes the installed app's title bar/status bar look like a native app's chrome instead of a browser wrapped around a webpage, part of what makes "installed" feel meaningfully different from "bookmarked" to a user.A frontend interviewer probing PWA knowledge is usually checking whether you understand that "installable" is a checklist of independent requirements (manifest + service worker + HTTPS) rather than one flag to flip, and that iOS and Android genuinely diverge here — a candidate who can explain why apple-touch-icon exists alongside a spec-compliant manifest, rather than assuming one subsumes the other, is demonstrating they've actually shipped this, not just read about it.