Sobes.tech
Junior — Senior

Determining the depth of DOM tree nesting

livecode

Task condition

Create a function that takes a DOM element and returns a numerical value reflecting the highest nesting level of child nodes within that element.