Preparing your experience...
Loading scripts and resources
Preparing your experience...
Loading scripts and resources
8 questions about DOM behavior. Q1: What does querySelector return if no match? → null. Q2: Difference between textContent and innerHTML? → textContent is plain text, innerHTML parses HTML tags. Q3: How to select ALL paragraphs? → document.querySelectorAll('p') (returns NodeList). Q4: element.style.
7
Likes
0
Remixes
0
Comments