p>
</div>
</div>
<div id="service-worker-and-offline-page" class="section level3" number="24.2.3">
<h3>
<span class="header-section-number">24.2.3</span> Service worker and offline page<a class="anchor" aria-label="anchor" href="#service-worker-and-offline-page"><i class="fas fa-link"></i></a>
</h3>
<p>The second mandatory step to make our app installable is the <strong>service worker</strong>.
We borrowed and modified the code from <a href="https://web.dev/offline-fallback-page/">web.dev</a>. <code><a href