<h3>DOM nima?</h3>
<p><strong>DOM</strong> (Document Object Model) — HTML sahifani JavaScript orqali boshqarish imkonini beradi.</p>
<h4>Elementni topish:</h4>
<ul>
<li><code>getElementById("id")</code></li>
<li><code>querySelector(".class")</code></li>
<li><code>querySelectorAll("tag")</code></li>
</ul>
<h4>Elementni o'zgartirish:</h4>
<ul>
<li><code>.innerHTML</code> — HTML kontent</li>
<li><code>.textContent</code> — faqat matn</li>
<li><code>.style.xususiyat</code> — CSS stil</li>
<li><code>.classList.add/remove/toggle</code> — klass</li>
</ul>