Build a table of contents to practice working with the DOM
Clone or download
Zakk Fleischmann
Zakk Fleischmann initial commit
Latest commit 8fc8dab Feb 7, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
index.html initial commit Feb 8, 2018
readme.md initial commit Feb 8, 2018
script.js initial commit Feb 8, 2018
style.css initial commit Feb 8, 2018

readme.md

JS DOM Table of Contents

Your goal is to use JavaScript to create a Table of Contents!

Get every h1 or h2 from the html file and create a list item inside of the aside element for every title.

All your HTML must be generated (created) with JavaScript!