element vs węzł
javascriptconst paragraph = document.querySelector('p');paragraph.nodeType === Node.ELEMENT_NODE; // => true
Modern Macaw
javascriptconst paragraph = document.querySelector('p');paragraph.nodeType === Node.ELEMENT_NODE; // => true