Phase 3: Advanced • Module 2: Advanced DOM
Implement a function to construct a table of contents from an HTML document