nodes in js
Hey, i hear "nodes" floating around when people talk about certain things in js. But what exactly are they and how do they differ from elements? There are some methods that are for nodes and some that aren't e.g.
I'd appreciate any info, thanks in advance.
parentElement and parentNode and it seems pretty confusing since they at first sight seem to be doing the same thing?I'd appreciate any info, thanks in advance.
