Это видео недоступно.
Сожалеем об этом.
Nodes Versus Elements in the DOM
HTML-код
- Опубликовано: 15 авг 2017
- When you are using JavaScript to traverse or manipulate the DOM it is very important to understand the difference between Nodes and Elements.
There are many methods available in JavaScript which can fetch lists or individual Elements or Nodes. You need to know which one you are getting so you can handle it appropriately.
The Node Types
1 - Element Node
3 - Text Node
8 - Comment Nodes
9 - Document Node
10 - Document Type Node
11 - Document Fragment Node
Very concise and to the point, yet great coverage on the topic.
Perfect. You just simplified a whole month lectures in minutes.
love how your dog is getting in on the JS action :)
THANK YOU THANK YOU THANK YOU SO MUCH!!!!
I'm watching a lot of your videos and I LOVE the way you explain evething so clear. All the things that seemed so difficult to understand now are making sense!
You've just earned a loyal subscriber!
gustornado Thanks. Please share the channel with other people too
So, I finished watching an earlier video of yours, and wanted to delve deeper into one of the topics. I did a quick google search.. and lo and behold, another one of your videos popped right up! Spoiler: It was this one, and it answered my questions expertly. Guess the only search bar I need is the one in your channel, haha. Thank you for the wealth of knowledge you are sharing with us Steve, people like you make the world a better place :)
Loads of love. Thank you so much. I wish there was a functionality to like the video MORE THAN ONCE... You got a subscriber mate. I'm going to binge-watch your content.
I wanted to thank you for making these videos. I'm taking an online web dev course and was having trouble planning out an assignment that had to be done. After watching your DOM manipulation videos I was finally able to get moving and got a good code review. I feel like things are starting to make more sense now.
That's why I make these videos.
Thank you so much, your explanation is so simple and understandable! You're giving a lot of examples which many others don't.
Im sharing your channel with my friends. Honestly you are the best at explain. Very clear. That have been a month when I learning at your channel. I have been improved a lot
Excellent! Thank you for the following takeways for me.
A Element is a type of node. Text and Comment nodes are not element nodes.
The Parent of a node is always an element node.
I am entirely grateful for your videos. Your explanation is beyond outstanding!!
Thank you very much for explaining these fundamentals thoroughly. It helps us a lot.
That was very useful ! Thank you
Thank you
thank you
Loved it, man! Thank you!
really useful video
AMAZINGGG!!
you said that only element nodes can be parents but aren't Document nodes a parent of element nodes?
Yes, documents can be parents but they are not nodes.
@@SteveGriffith-Prof3ssorSt3v3 Great vid Steve! But a quick question from your reply here: “Document” is listed as a node type (number 10) in your video here. So what do you mean when you say that documents are not nodes? How can there be a document node type if that is so? Thank you in advance!
@@CatholicaTV document is a type of node. It's not a text or element node, but it is a node.
@@SteveGriffith-Prof3ssorSt3v3 Thank you
All elements are Nodes.. but not all Nodes are elements..
correct.
this just got me more confused lmao
All elements are nodes but not all nodes are elements. Just like all apples are fruit but not all fruit are apples.
Merci !
Thank you very much! ❤️🙏😀
+++
Merci !
Thank you very much! ❤️ 🙏😀
@@SteveGriffith-Prof3ssorSt3v3 I have to thank you for the great content!