aria-hidden="true" tabindex="-1"></a>})<span class="op">;</span></span></code></pre></div>
<p>We give it an id so as to call it later and edit the <strong>beforeinstallprompt</strong> event listener to show the toast:</p>
<div class="sourceCode" id="cb938"><pre class="sourceCode js"><code class="sourceCode javascript"><span id="cb938-1"><a href="mobile-pwa.html#cb938-1" aria-hidden="true" tabindex="-1"></a><span class="kw">let</span> deferredPrompt<span class="op">;</span></span>
<span id="cb938-2"><a href=