Build a table of contents to practice working with the DOM
Clone or download
Pull request Compare This branch is even with dc-wdi-fundamentals:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
index.html
readme.md
script.js
style.css

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!