Custom JS - Display records on page

I have found code in the Developer Docs that shows how to get data, but I can't seem to find any examples of code that displays the data in HTML on the screen. I can only get console.log to work.

Any help is appreciated. :)

The data is JSON so you'll want to use something like JavaScript to use it on your HTML page. Here's a tutorial -