DrkPxl Logo

How to use vanilla Javascript to load and parse a feed into a table

We manage a very robust and powerful CMS at my work, however sometimes we want to do a small test without a huge .NET feature rollout. For those times we like to write some vanilla JS to prove out the concept. What you can see at the Codepen below is is using requests to load a JSON and then using various nodes to build out the table.

It's a bit ugly but works well for test. Many thanks for the help @rylan with figuring out the nodes.