{"action":"created","comment":{"url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/comments/47573112","id":47573112,"diff_hunk":"@@ -17,6 +17,20 @@ Using jQuery, write code that makes an AJAX get request to \"http://kittengifs.co\n \n Your Answer:\n ```js\n+function getKittens(){\n+  var url = \"http://kittengifs.com/gifs\";\n+  $.ajax({\n+      url: url,\n+      type: \"get\",\n+      dataType: \"json\"\n+    }).done(function(response){\n+      console.log(response.gifs.count);\n+    }).fail(function(){\n+      console.log(\"Ajax request failed!\");\n+    }).always(function(){\n+      console.log(\"Something happened but I'm not going to tell you what.\");\n+    });\n+}","path":"readme.md","position":17,"original_position":17,"commit_id":"8dc30c62e362b26c53db8384d946c2e69b21b3ab","original_commit_id":"8dc30c62e362b26c53db8384d946c2e69b21b3ab","user":{"login":"mattscilipoti","id":31929,"avatar_url":"https://avatars.githubusercontent.com/u/31929?v=3","gravatar_id":"","url":"https://api.github.com/users/mattscilipoti","html_url":"https://github.com/mattscilipoti","followers_url":"https://api.github.com/users/mattscilipoti/followers","following_url":"https://api.github.com/users/mattscilipoti/following{/other_user}","gists_url":"https://api.github.com/users/mattscilipoti/gists{/gist_id}","starred_url":"https://api.github.com/users/mattscilipoti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattscilipoti/subscriptions","organizations_url":"https://api.github.com/users/mattscilipoti/orgs","repos_url":"https://api.github.com/users/mattscilipoti/repos","events_url":"https://api.github.com/users/mattscilipoti/events{/privacy}","received_events_url":"https://api.github.com/users/mattscilipoti/received_events","type":"User","site_admin":false},"body":":+1:  \r\nSince the server \"responds with a JSON array of objects\", `response.length` would suffice.","created_at":"2015-12-14T23:03:32Z","updated_at":"2015-12-14T23:03:32Z","html_url":"https://github.com/ga-dc/wdi7-quiz9/pull/50#discussion_r47573112","pull_request_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/50","_links":{"self":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/comments/47573112"},"html":{"href":"https://github.com/ga-dc/wdi7-quiz9/pull/50#discussion_r47573112"},"pull_request":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/50"}}},"pull_request":{"url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/50","id":53575341,"html_url":"https://github.com/ga-dc/wdi7-quiz9/pull/50","diff_url":"https://github.com/ga-dc/wdi7-quiz9/pull/50.diff","patch_url":"https://github.com/ga-dc/wdi7-quiz9/pull/50.patch","issue_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/issues/50","number":50,"state":"open","locked":false,"title":"quiz questions completed by 10am","user":{"login":"ddayporter","id":14064144,"avatar_url":"https://avatars.githubusercontent.com/u/14064144?v=3","gravatar_id":"","url":"https://api.github.com/users/ddayporter","html_url":"https://github.com/ddayporter","followers_url":"https://api.github.com/users/ddayporter/followers","following_url":"https://api.github.com/users/ddayporter/following{/other_user}","gists_url":"https://api.github.com/users/ddayporter/gists{/gist_id}","starred_url":"https://api.github.com/users/ddayporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddayporter/subscriptions","organizations_url":"https://api.github.com/users/ddayporter/orgs","repos_url":"https://api.github.com/users/ddayporter/repos","events_url":"https://api.github.com/users/ddayporter/events{/privacy}","received_events_url":"https://api.github.com/users/ddayporter/received_events","type":"User","site_admin":false},"body":"Missed one question but ran out of time.","created_at":"2015-12-14T15:02:33Z","updated_at":"2015-12-14T23:03:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"17279fab964d94602f533959a2b2ff02c03d3baf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/50/commits","review_comments_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/50/comments","review_comment_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/issues/50/comments","statuses_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/statuses/8dc30c62e362b26c53db8384d946c2e69b21b3ab","head":{"label":"ddayporter:master","ref":"master","sha":"8dc30c62e362b26c53db8384d946c2e69b21b3ab","user":{"login":"ddayporter","id":14064144,"avatar_url":"https://avatars.githubusercontent.com/u/14064144?v=3","gravatar_id":"","url":"https://api.github.com/users/ddayporter","html_url":"https://github.com/ddayporter","followers_url":"https://api.github.com/users/ddayporter/followers","following_url":"https://api.github.com/users/ddayporter/following{/other_user}","gists_url":"https://api.github.com/users/ddayporter/gists{/gist_id}","starred_url":"https://api.github.com/users/ddayporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddayporter/subscriptions","organizations_url":"https://api.github.com/users/ddayporter/orgs","repos_url":"https://api.github.com/users/ddayporter/repos","events_url":"https://api.github.com/users/ddayporter/events{/privacy}","received_events_url":"https://api.github.com/users/ddayporter/received_events","type":"User","site_admin":false},"repo":{"id":47978376,"name":"wdi7-quiz9","full_name":"ddayporter/wdi7-quiz9","owner":{"login":"ddayporter","id":14064144,"avatar_url":"https://avatars.githubusercontent.com/u/14064144?v=3","gravatar_id":"","url":"https://api.github.com/users/ddayporter","html_url":"https://github.com/ddayporter","followers_url":"https://api.github.com/users/ddayporter/followers","following_url":"https://api.github.com/users/ddayporter/following{/other_user}","gists_url":"https://api.github.com/users/ddayporter/gists{/gist_id}","starred_url":"https://api.github.com/users/ddayporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddayporter/subscriptions","organizations_url":"https://api.github.com/users/ddayporter/orgs","repos_url":"https://api.github.com/users/ddayporter/repos","events_url":"https://api.github.com/users/ddayporter/events{/privacy}","received_events_url":"https://api.github.com/users/ddayporter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ddayporter/wdi7-quiz9","description":"[quiz]","fork":true,"url":"https://api.github.com/repos/ddayporter/wdi7-quiz9","forks_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/forks","keys_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/teams","hooks_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/hooks","issue_events_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/issues/events{/number}","events_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/events","assignees_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/assignees{/user}","branches_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/branches{/branch}","tags_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/tags","blobs_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/git/refs{/sha}","trees_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/statuses/{sha}","languages_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/languages","stargazers_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/stargazers","contributors_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/contributors","subscribers_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/subscribers","subscription_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/subscription","commits_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/commits{/sha}","git_commits_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/git/commits{/sha}","comments_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/comments{/number}","issue_comment_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/issues/comments{/number}","contents_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/contents/{+path}","compare_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/merges","archive_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/downloads","issues_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/issues{/number}","pulls_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/pulls{/number}","milestones_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/milestones{/number}","notifications_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/labels{/name}","releases_url":"https://api.github.com/repos/ddayporter/wdi7-quiz9/releases{/id}","created_at":"2015-12-14T14:01:37Z","updated_at":"2015-12-11T19:32:35Z","pushed_at":"2015-12-14T15:01:39Z","git_url":"git://github.com/ddayporter/wdi7-quiz9.git","ssh_url":"git@github.com:ddayporter/wdi7-quiz9.git","clone_url":"https://github.com/ddayporter/wdi7-quiz9.git","svn_url":"https://github.com/ddayporter/wdi7-quiz9","homepage":null,"size":5,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ga-dc:master","ref":"master","sha":"128e5e1fab6d54ed583243f5d346b726de8dec9c","user":{"login":"ga-dc","id":10747017,"avatar_url":"https://avatars.githubusercontent.com/u/10747017?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-dc","html_url":"https://github.com/ga-dc","followers_url":"https://api.github.com/users/ga-dc/followers","following_url":"https://api.github.com/users/ga-dc/following{/other_user}","gists_url":"https://api.github.com/users/ga-dc/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-dc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-dc/subscriptions","organizations_url":"https://api.github.com/users/ga-dc/orgs","repos_url":"https://api.github.com/users/ga-dc/repos","events_url":"https://api.github.com/users/ga-dc/events{/privacy}","received_events_url":"https://api.github.com/users/ga-dc/received_events","type":"Organization","site_admin":false},"repo":{"id":47846895,"name":"wdi7-quiz9","full_name":"ga-dc/wdi7-quiz9","owner":{"login":"ga-dc","id":10747017,"avatar_url":"https://avatars.githubusercontent.com/u/10747017?v=3","gravatar_id":"","url":"https://api.github.com/users/ga-dc","html_url":"https://github.com/ga-dc","followers_url":"https://api.github.com/users/ga-dc/followers","following_url":"https://api.github.com/users/ga-dc/following{/other_user}","gists_url":"https://api.github.com/users/ga-dc/gists{/gist_id}","starred_url":"https://api.github.com/users/ga-dc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ga-dc/subscriptions","organizations_url":"https://api.github.com/users/ga-dc/orgs","repos_url":"https://api.github.com/users/ga-dc/repos","events_url":"https://api.github.com/users/ga-dc/events{/privacy}","received_events_url":"https://api.github.com/users/ga-dc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ga-dc/wdi7-quiz9","description":"[quiz]","fork":false,"url":"https://api.github.com/repos/ga-dc/wdi7-quiz9","forks_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/forks","keys_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/teams","hooks_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/hooks","issue_events_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/issues/events{/number}","events_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/events","assignees_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/assignees{/user}","branches_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/branches{/branch}","tags_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/tags","blobs_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/languages","stargazers_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/stargazers","contributors_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/contributors","subscribers_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/subscribers","subscription_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/subscription","commits_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/contents/{+path}","compare_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/merges","archive_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/downloads","issues_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/issues{/number}","pulls_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/labels{/name}","releases_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/releases{/id}","created_at":"2015-12-11T19:32:35Z","updated_at":"2015-12-11T19:32:35Z","pushed_at":"2015-12-14T16:06:15Z","git_url":"git://github.com/ga-dc/wdi7-quiz9.git","ssh_url":"git@github.com:ga-dc/wdi7-quiz9.git","clone_url":"https://github.com/ga-dc/wdi7-quiz9.git","svn_url":"https://github.com/ga-dc/wdi7-quiz9","homepage":null,"size":142,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":53,"mirror_url":null,"open_issues_count":48,"forks":53,"open_issues":48,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/50"},"html":{"href":"https://github.com/ga-dc/wdi7-quiz9/pull/50"},"issue":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz9/issues/50"},"comments":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz9/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz9/statuses/8dc30c62e362b26c53db8384d946c2e69b21b3ab"}}}}