Wow, thanks everyone for the insights! I didn’t realize how much the DOM plays into this. So, HTML itself doesn’t use data structures, but the DOM does. That makes a lot more sense now.
I’ll definitely check out MDN Web Docs and CodePen to see how it all connects. Maybe I’ll even try building a simple site to see it in action.
One follow-up question though: when we talk about the DOM being a tree structure, does that mean it’s similar to how binary trees work in programming? Or is it more like a general tree structure?
Cheers again for all the help!
I’ll definitely check out MDN Web Docs and CodePen to see how it all connects. Maybe I’ll even try building a simple site to see it in action.
One follow-up question though: when we talk about the DOM being a tree structure, does that mean it’s similar to how binary trees work in programming? Or is it more like a general tree structure?
Cheers again for all the help!
