Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
If I am not mistaken any DOM "tree" node is actually a "branch", which would be an HTML element or perhaps a CSS pseudo-element, of course. If that's true what are the different node types and esp...
#3: Post edited
- If I am not mistaken any DOM "tree" node is actually a "branch", which would be an HTML element or perhaps a CSS pseudo-element, of course.
If that's true, what would a code such as `e.nodeType == Node.TEXT_NODE` mean in JavaScript?
- If I am not mistaken any DOM "tree" node is actually a "branch", which would be an HTML element or perhaps a CSS pseudo-element, of course.
- If that's true what are the different node types and especially what is **TEXT_NODE** here?
- `e.nodeType == Node.TEXT_NODE` mean in JavaScript?
#2: Post edited
If I am not mistaken any DOM "tree" node is actually a "branch", which would be an HTML element (or perhaps a CSS pseudo-element), of course.- If that's true, what would a code such as `e.nodeType == Node.TEXT_NODE` mean in JavaScript?
- If I am not mistaken any DOM "tree" node is actually a "branch", which would be an HTML element or perhaps a CSS pseudo-element, of course.
- If that's true, what would a code such as `e.nodeType == Node.TEXT_NODE` mean in JavaScript?