The home where you level up โ daily 3-minute lessons.
Save my spot{
"name": "My App",
"icons": [{ "src": "/icon.png", "sizes": "64x64" }]
}{
"name": "My App",
"short_name": "App",
"start_url": "/",
"display": "standalone",
"icons": [
{ "src": "/icon-192.png", "sizes": "192x192", "type": "image/png" },
{ "src": "/icon-512.png", "sizes": "512x512", "type": "image/png", "purpose": "maskable" }
]
}Install needs a name, start URL, display mode and large icons, and a single small icon is not enough.
<link rel='manifest'>.name, short_name, start_url, display and icons.theme_color matches the <meta name='theme-color'> tag.Either works. The spec suggests '.webmanifest' with the 'application/manifest+json' type, but browsers accept any file linked from <link rel='manifest'>.
display: 'standalone' do?It opens the installed app in its own window without the browser address bar and tabs.
An icon with its key content inside a safe zone, so the OS can crop it into a circle or other shape without cutting anything off.

Daily 3-minute lessons to understand your AI's code.