AJAX w/Kittens

Example repository for using axios.

Task List

  • Add a hard-coded list for all our cats
  • Retrieve all our cats from our Cats API
  • Add an event listener to the create new cat button
  • On click, show a form on the page to create a new cat
  • On form submit, hide the form and clear the input
  • On form submit, post a new cat to our Cats API
  • On form submit, add to the list of cats on the page

Stretch

  • Update our Cats API to include additional fields like age, created_at, and image
  • Update our list to show these fields
  • Update our create to add these fields