{"action":"created","comment":{"url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/comments/47535109","id":47535109,"diff_hunk":"@@ -16,7 +16,12 @@ the square brackets (for multiple-choice questions).\n Using jQuery, write code that makes an AJAX get request to \"http://kittengifs.com/gifs\". Output to the console the total number of results you get back. (Assume the server responds with a JSON array of objects representing gifs.)\n \n Your Answer:\n-```js\n+```\n+var URL = \"http://kittengifs.com/gifs\"\n+$.getJSON(URL, function(err,results){\n+  console.log(results.length)\n+  console.log(err)\n+  })","path":"readme.md","position":10,"original_position":10,"commit_id":"e92787fdab0195e5d326af80b80840e0fbd2c987","original_commit_id":"e92787fdab0195e5d326af80b80840e0fbd2c987","user":{"login":"adambray","id":75565,"avatar_url":"https://avatars.githubusercontent.com/u/75565?v=3","gravatar_id":"","url":"https://api.github.com/users/adambray","html_url":"https://github.com/adambray","followers_url":"https://api.github.com/users/adambray/followers","following_url":"https://api.github.com/users/adambray/following{/other_user}","gists_url":"https://api.github.com/users/adambray/gists{/gist_id}","starred_url":"https://api.github.com/users/adambray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adambray/subscriptions","organizations_url":"https://api.github.com/users/adambray/orgs","repos_url":"https://api.github.com/users/adambray/repos","events_url":"https://api.github.com/users/adambray/events{/privacy}","received_events_url":"https://api.github.com/users/adambray/received_events","type":"User","site_admin":false},"body":":+1:  Nice use of getJSON and a separate URL var to keep the code clean.","created_at":"2015-12-14T18:21:01Z","updated_at":"2015-12-14T18:21:01Z","html_url":"https://github.com/ga-dc/wdi7-quiz9/pull/26#discussion_r47535109","pull_request_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/comments/47535109"},"html":{"href":"https://github.com/ga-dc/wdi7-quiz9/pull/26#discussion_r47535109"},"pull_request":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/26","id":53574102,"html_url":"https://github.com/ga-dc/wdi7-quiz9/pull/26","diff_url":"https://github.com/ga-dc/wdi7-quiz9/pull/26.diff","patch_url":"https://github.com/ga-dc/wdi7-quiz9/pull/26.patch","issue_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/issues/26","number":26,"state":"open","locked":false,"title":"Daniel Alexander quiz 9","user":{"login":"dan-ator","id":14224854,"avatar_url":"https://avatars.githubusercontent.com/u/14224854?v=3","gravatar_id":"","url":"https://api.github.com/users/dan-ator","html_url":"https://github.com/dan-ator","followers_url":"https://api.github.com/users/dan-ator/followers","following_url":"https://api.github.com/users/dan-ator/following{/other_user}","gists_url":"https://api.github.com/users/dan-ator/gists{/gist_id}","starred_url":"https://api.github.com/users/dan-ator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dan-ator/subscriptions","organizations_url":"https://api.github.com/users/dan-ator/orgs","repos_url":"https://api.github.com/users/dan-ator/repos","events_url":"https://api.github.com/users/dan-ator/events{/privacy}","received_events_url":"https://api.github.com/users/dan-ator/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-14T14:52:53Z","updated_at":"2015-12-14T18:21:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bceb465320d87bd87bfe323058c6688566422f41","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/26/commits","review_comments_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/26/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/26/comments","statuses_url":"https://api.github.com/repos/ga-dc/wdi7-quiz9/statuses/e92787fdab0195e5d326af80b80840e0fbd2c987","head":{"label":"dan-ator:master","ref":"master","sha":"e92787fdab0195e5d326af80b80840e0fbd2c987","user":{"login":"dan-ator","id":14224854,"avatar_url":"https://avatars.githubusercontent.com/u/14224854?v=3","gravatar_id":"","url":"https://api.github.com/users/dan-ator","html_url":"https://github.com/dan-ator","followers_url":"https://api.github.com/users/dan-ator/followers","following_url":"https://api.github.com/users/dan-ator/following{/other_user}","gists_url":"https://api.github.com/users/dan-ator/gists{/gist_id}","starred_url":"https://api.github.com/users/dan-ator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dan-ator/subscriptions","organizations_url":"https://api.github.com/users/dan-ator/orgs","repos_url":"https://api.github.com/users/dan-ator/repos","events_url":"https://api.github.com/users/dan-ator/events{/privacy}","received_events_url":"https://api.github.com/users/dan-ator/received_events","type":"User","site_admin":false},"repo":{"id":47978439,"name":"wdi7-quiz9","full_name":"dan-ator/wdi7-quiz9","owner":{"login":"dan-ator","id":14224854,"avatar_url":"https://avatars.githubusercontent.com/u/14224854?v=3","gravatar_id":"","url":"https://api.github.com/users/dan-ator","html_url":"https://github.com/dan-ator","followers_url":"https://api.github.com/users/dan-ator/followers","following_url":"https://api.github.com/users/dan-ator/following{/other_user}","gists_url":"https://api.github.com/users/dan-ator/gists{/gist_id}","starred_url":"https://api.github.com/users/dan-ator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dan-ator/subscriptions","organizations_url":"https://api.github.com/users/dan-ator/orgs","repos_url":"https://api.github.com/users/dan-ator/repos","events_url":"https://api.github.com/users/dan-ator/events{/privacy}","received_events_url":"https://api.github.com/users/dan-ator/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dan-ator/wdi7-quiz9","description":"[quiz]","fork":true,"url":"https://api.github.com/repos/dan-ator/wdi7-quiz9","forks_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/forks","keys_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/teams","hooks_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/hooks","issue_events_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/issues/events{/number}","events_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/events","assignees_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/assignees{/user}","branches_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/branches{/branch}","tags_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/tags","blobs_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/git/refs{/sha}","trees_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/statuses/{sha}","languages_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/languages","stargazers_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/stargazers","contributors_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/contributors","subscribers_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/subscribers","subscription_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/subscription","commits_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/commits{/sha}","git_commits_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/git/commits{/sha}","comments_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/comments{/number}","issue_comment_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/issues/comments{/number}","contents_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/contents/{+path}","compare_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/merges","archive_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/downloads","issues_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/issues{/number}","pulls_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/pulls{/number}","milestones_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/milestones{/number}","notifications_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/labels{/name}","releases_url":"https://api.github.com/repos/dan-ator/wdi7-quiz9/releases{/id}","created_at":"2015-12-14T14:02:27Z","updated_at":"2015-12-11T19:32:35Z","pushed_at":"2015-12-14T14:52:18Z","git_url":"git://github.com/dan-ator/wdi7-quiz9.git","ssh_url":"git@github.com:dan-ator/wdi7-quiz9.git","clone_url":"https://github.com/dan-ator/wdi7-quiz9.git","svn_url":"https://github.com/dan-ator/wdi7-quiz9","homepage":null,"size":3,"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":53,"forks":53,"open_issues":53,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/26"},"html":{"href":"https://github.com/ga-dc/wdi7-quiz9/pull/26"},"issue":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz9/issues/26"},"comments":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz9/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz9/pulls/26/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/26/commits"},"statuses":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz9/statuses/e92787fdab0195e5d326af80b80840e0fbd2c987"}}}}