Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 1.56 KB

README.md

File metadata and controls

48 lines (39 loc) · 1.56 KB
INFO PROPERTY VALUE
Program Name Demo: Ajax Information Gallery (Vanilla JS)
Public File Name index.htm
Local File Name ehCode_2018.06.13_demo_AjaxJson
Date Created 06/13/18
Date Modified --
Version 1.01
Programmer Eric Hepperle

Demo: Ajax Animal Information Gallery (Vanilla JS)

Purpose:

Demonstrates grabbing and displaying data from JSON endpoints using AJAX and vanilla JavaScript.

Usage:

  1. Load the HTML page in a browser.
  2. Click the button to load new objects.
  3. Each object should display in a styled, floated block module.

Sample results:

[N/A]

Requires:

Demonstrates:

  • Vanilla JavaScript
  • AJAX
  • XMLHttpRequest
  • Parsing JSON
  • REST API

Based on this tutorial:

TAGS:

REST, API, AJAX, JSON, JavaScript, ES6, Tutorial, Tutwrk

Resources:

  • Where to access json endpoint urls:
  • JavaScript Templating: handlebars.js
  • Error Handling for AJAX?