Do You Know The Difference?
Web Dev Simplified
FREE DOM Traversal Cheat Sheet: https://webdevsimplified.com/js-dom-traversal-cheat-sheet.html
If you have ever worked with the DOM before then chances are you have worked with both nodes and elements. No matter what you do with the DOM you have to interact with one or the other, but which is the right choice for you? In this video I will explain the differences between nodes and elements so you can make the right choice.
š Materials/References:
FREE DOM Traversal Cheat Sheet: https://webdevsimplified.com/js-dom-traversal-cheat-sheet.html Node vs Element Article: https://blog.webdevsimplified.com/2021-05/node-vs-element
š Find Me Here:
My Blog: https://blog.webdevsimplified.com My Courses: https://courses.webdevsimplified.com Patreon: https://www.patreon.com/WebDevSimplified Twitter: https://twitter.com/DevSimplified Discord: https://discord.gg/7StTjnR GitHub: https://github.com/WebDevSimplified CodePen: https://codepen.io/WebDevSimplified
ā±ļø Timestamps:
00:00 - Introduction 00:26 - Node vs Element 4:30 - HTMLCollection vs NodeList
#NodeVsElement #WDS #JavaScript ... https://www.youtube.com/watch?v=rhvec8cXLlo
41365546 Bytes