Here is a one-page demo of accessing an API and displaying its contents on a page. This all happens on one single page, and is pretty easy to understand.
There are no dependencies for this project, it all happens on one HTML file. Paste the contents of index.html into your favorite text/code editor, and follow along with this video & slides.
You'll end up with something that looks like completed.html, which you can run in your browser from Localhost or upload to your webhosting account to see.
You will not be able to run this from the file protocol. So these paths will not work:
c:/documents/completed.html
/home/user/completed.html
Run it successfully from a path like:
http://localhost/completed.html
http://your-website-name.com/completed.html