Creating a webpage from data with JS

Open the browser console to see the program outputs.