<h3>LocalStorage</h3>
<p>LocalStorage — brauzerda ma'lumot saqlash. Sahifa yopilsa ham saqlanib qoladi.</p>
<ul>
<li><code>localStorage.setItem("key", "value")</code> — saqlash</li>
<li><code>localStorage.getItem("key")</code> — olish</li>
<li><code>localStorage.removeItem("key")</code> — o'chirish</li>
<li><code>localStorage.clear()</code> — hammasini tozalash</li>
</ul>