anishk
1 supporter
Tree Traversal algorithms for DOM

Tree Traversal algorithms for DOM

Nov 04, 2021

In this article, we'll put previous learnings to use for an n-ary tree i.e. DOM. We'll see how we can locate DOM elements using various CSS selectors without using inbuilt APIs like getElementByIdgetElementsByClassname or querySelector/querySelectorAll. The article would thus also throw light on how these APIs might be working under the hood.

Complete article here: https://stackfull.dev/applying-tree-traversal-algorithms-to-dom

Enjoy this post?

Buy anishk a coffee

More from anishk