Skip to main content

Lesson 7 of 9

Progressive Web App (PWA) Basics

Progressive Web Apps (PWAs) are websites that behave like native apps - installable on home screen, work offline, send push notifications. They're built with HTML, CSS, and JavaScript plus two key technologies: Web App Manifest (HTML) and Service Workers (JavaScript).

15 minBy Priygop Editorial TeamUpdated 2026Peer Reviewed & Verified

PWA Requirements

  • Web App Manifest (manifest.json) - JSON file linked from HTML that defines app name, icon, theme color, and display mode.
  • <link rel='manifest' href='manifest.json'> - Add this to your HTML head to register the manifest.
  • Service Worker - JavaScript file that runs in the background. Caches assets for offline support.
  • HTTPS required - PWAs only work on secure origins (and localhost for development).
  • Installable - Users get an 'Install' prompt. App appears on home screen with your icon and splash screen.
  • Offline support - Service Worker intercepts network requests and serves cached content when offline.
  • Push notifications - Service Worker can receive push messages even when the app is closed.
  • App-like experience - Full-screen display, custom theme color, no browser chrome. Feels like a native app.
Diagram
Loading diagram…

Service workers intercept network requests to serve cached responses when offline

Key Takeaways

  • Progressive Web Apps (PWAs) are websites that behave like native apps - installable on home screen, work offline, send push notifications.
  • Web App Manifest (manifest.json) - JSON file linked from HTML that defines app name, icon, theme color, and display mode.
  • <link rel='manifest' href='manifest.json'> - Add this to your HTML head to register the manifest.
  • Service Worker - JavaScript file that runs in the background. Caches assets for offline support.

Hands-on Practice Tools for this Course

Test what you learn using these free in-browser developer utilities (no signup required).

All 40+ Tools

Topics in This Module

0/9 done