DOM & Browser APIs
JavaScript learning path
Master dom & browser apis through 10 carefully ordered interview questions. Each lesson includes a detailed explanation, practical example, common mistakes, and an interview-ready summary.
10 questions3 easy · 3 medium · 4 hard difficulty mix≈ 50 min total study time
Start this learning path Quick knowledge check
Test your DOM & Browser APIs knowledge
Match five interview questions to their best answers. Your result stays on this device.
Table of contents
Work through the questions in order for a guided path, or jump directly to the concept you want to review.
01What is event delegation?hard · senior level · 5 min read02What is the difference between event bubbling and capturing?easy · junior level · 5 min read03What do `preventDefault` and `stopPropagation` do?medium · mid level · 5 min read04What is the difference between an attribute and a property?hard · senior level · 5 min read05When does `DOMContentLoaded` fire?easy · junior level · 5 min read06How do you create and insert DOM elements safely?medium · mid level · 5 min read07What is the difference between `innerHTML`, `textContent`, and `innerText`?hard · senior level · 5 min read08How do you use `data-*` attributes?easy · junior level · 5 min read09What is the browser rendering pipeline?medium · mid level · 5 min read10What is a Web Worker?hard · senior level · 5 min read