{"action":"created","comment":{"url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/pulls/comments/42995936","id":42995936,"diff_hunk":"@@ -38,7 +43,14 @@ Select 1:\n Describe the rules of scope in JavaScript.\n \n Your Answer:\n-```text\n+```Scope is where a variable can be refrenced. ex.\n+var color = blue\n+\n+function {\n+  return color;\n+};\n+\n+the variable [color] is in global scope. and within the function, it's scope is local to the function.\n ```\n ","path":"README.md","position":37,"original_position":37,"commit_id":"47e981a398693ec220a3be271d7df8cc12fd1f2d","original_commit_id":"47e981a398693ec220a3be271d7df8cc12fd1f2d","user":{"login":"amaseda","id":3519147,"avatar_url":"https://avatars.githubusercontent.com/u/3519147?v=3","gravatar_id":"","url":"https://api.github.com/users/amaseda","html_url":"https://github.com/amaseda","followers_url":"https://api.github.com/users/amaseda/followers","following_url":"https://api.github.com/users/amaseda/following{/other_user}","gists_url":"https://api.github.com/users/amaseda/gists{/gist_id}","starred_url":"https://api.github.com/users/amaseda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaseda/subscriptions","organizations_url":"https://api.github.com/users/amaseda/orgs","repos_url":"https://api.github.com/users/amaseda/repos","events_url":"https://api.github.com/users/amaseda/events{/privacy}","received_events_url":"https://api.github.com/users/amaseda/received_events","type":"User","site_admin":false},"body":"Correct, but would like to see you comment on where a local variable can be accessed from. What if `color` was defined inside of the function - where can you reference it from?","created_at":"2015-10-26T14:01:42Z","updated_at":"2015-10-26T14:01:42Z","html_url":"https://github.com/ga-dc/wdi7-quiz2/pull/23#discussion_r42995936","pull_request_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/pulls/23","_links":{"self":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz2/pulls/comments/42995936"},"html":{"href":"https://github.com/ga-dc/wdi7-quiz2/pull/23#discussion_r42995936"},"pull_request":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz2/pulls/23"}}},"pull_request":{"url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/pulls/23","id":48691178,"html_url":"https://github.com/ga-dc/wdi7-quiz2/pull/23","diff_url":"https://github.com/ga-dc/wdi7-quiz2/pull/23.diff","patch_url":"https://github.com/ga-dc/wdi7-quiz2/pull/23.patch","issue_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/issues/23","number":23,"state":"open","locked":false,"title":"WDI Quiz #2","user":{"login":"KoryJCampbell","id":12791850,"avatar_url":"https://avatars.githubusercontent.com/u/12791850?v=3","gravatar_id":"","url":"https://api.github.com/users/KoryJCampbell","html_url":"https://github.com/KoryJCampbell","followers_url":"https://api.github.com/users/KoryJCampbell/followers","following_url":"https://api.github.com/users/KoryJCampbell/following{/other_user}","gists_url":"https://api.github.com/users/KoryJCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/KoryJCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KoryJCampbell/subscriptions","organizations_url":"https://api.github.com/users/KoryJCampbell/orgs","repos_url":"https://api.github.com/users/KoryJCampbell/repos","events_url":"https://api.github.com/users/KoryJCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/KoryJCampbell/received_events","type":"User","site_admin":false},"body":"Comfort : 4\r\nCompleteness: 5","created_at":"2015-10-25T23:31:03Z","updated_at":"2015-10-26T14:01:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"67000d53323c7d4a4576f48456efaa536f63b630","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/pulls/23/commits","review_comments_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/pulls/23/comments","review_comment_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/issues/23/comments","statuses_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/statuses/47e981a398693ec220a3be271d7df8cc12fd1f2d","head":{"label":"KoryJCampbell:master","ref":"master","sha":"47e981a398693ec220a3be271d7df8cc12fd1f2d","user":{"login":"KoryJCampbell","id":12791850,"avatar_url":"https://avatars.githubusercontent.com/u/12791850?v=3","gravatar_id":"","url":"https://api.github.com/users/KoryJCampbell","html_url":"https://github.com/KoryJCampbell","followers_url":"https://api.github.com/users/KoryJCampbell/followers","following_url":"https://api.github.com/users/KoryJCampbell/following{/other_user}","gists_url":"https://api.github.com/users/KoryJCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/KoryJCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KoryJCampbell/subscriptions","organizations_url":"https://api.github.com/users/KoryJCampbell/orgs","repos_url":"https://api.github.com/users/KoryJCampbell/repos","events_url":"https://api.github.com/users/KoryJCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/KoryJCampbell/received_events","type":"User","site_admin":false},"repo":{"id":44928340,"name":"wdi7-quiz2","full_name":"KoryJCampbell/wdi7-quiz2","owner":{"login":"KoryJCampbell","id":12791850,"avatar_url":"https://avatars.githubusercontent.com/u/12791850?v=3","gravatar_id":"","url":"https://api.github.com/users/KoryJCampbell","html_url":"https://github.com/KoryJCampbell","followers_url":"https://api.github.com/users/KoryJCampbell/followers","following_url":"https://api.github.com/users/KoryJCampbell/following{/other_user}","gists_url":"https://api.github.com/users/KoryJCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/KoryJCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KoryJCampbell/subscriptions","organizations_url":"https://api.github.com/users/KoryJCampbell/orgs","repos_url":"https://api.github.com/users/KoryJCampbell/repos","events_url":"https://api.github.com/users/KoryJCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/KoryJCampbell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/KoryJCampbell/wdi7-quiz2","description":"","fork":true,"url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2","forks_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/forks","keys_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/teams","hooks_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/hooks","issue_events_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/issues/events{/number}","events_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/events","assignees_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/assignees{/user}","branches_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/branches{/branch}","tags_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/tags","blobs_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/git/refs{/sha}","trees_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/statuses/{sha}","languages_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/languages","stargazers_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/stargazers","contributors_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/contributors","subscribers_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/subscribers","subscription_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/subscription","commits_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/commits{/sha}","git_commits_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/git/commits{/sha}","comments_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/comments{/number}","issue_comment_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/issues/comments{/number}","contents_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/contents/{+path}","compare_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/merges","archive_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/downloads","issues_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/issues{/number}","pulls_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/pulls{/number}","milestones_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/milestones{/number}","notifications_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/labels{/name}","releases_url":"https://api.github.com/repos/KoryJCampbell/wdi7-quiz2/releases{/id}","created_at":"2015-10-25T20:29:20Z","updated_at":"2015-10-23T19:42:43Z","pushed_at":"2015-10-25T23:30:13Z","git_url":"git://github.com/KoryJCampbell/wdi7-quiz2.git","ssh_url":"git@github.com:KoryJCampbell/wdi7-quiz2.git","clone_url":"https://github.com/KoryJCampbell/wdi7-quiz2.git","svn_url":"https://github.com/KoryJCampbell/wdi7-quiz2","homepage":null,"size":91,"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":"11a43b1d505386666e3674255fe32c11ca101447","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":44829138,"name":"wdi7-quiz2","full_name":"ga-dc/wdi7-quiz2","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-quiz2","description":"","fork":false,"url":"https://api.github.com/repos/ga-dc/wdi7-quiz2","forks_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/forks","keys_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/teams","hooks_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/hooks","issue_events_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/issues/events{/number}","events_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/events","assignees_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/assignees{/user}","branches_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/branches{/branch}","tags_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/tags","blobs_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/languages","stargazers_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/stargazers","contributors_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/contributors","subscribers_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/subscribers","subscription_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/subscription","commits_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/contents/{+path}","compare_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/merges","archive_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/downloads","issues_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/issues{/number}","pulls_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/labels{/name}","releases_url":"https://api.github.com/repos/ga-dc/wdi7-quiz2/releases{/id}","created_at":"2015-10-23T17:50:17Z","updated_at":"2015-10-23T19:42:43Z","pushed_at":"2015-10-26T13:59:30Z","git_url":"git://github.com/ga-dc/wdi7-quiz2.git","ssh_url":"git@github.com:ga-dc/wdi7-quiz2.git","clone_url":"https://github.com/ga-dc/wdi7-quiz2.git","svn_url":"https://github.com/ga-dc/wdi7-quiz2","homepage":null,"size":1102,"stargazers_count":1,"watchers_count":1,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":30,"forks":61,"open_issues":30,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz2/pulls/23"},"html":{"href":"https://github.com/ga-dc/wdi7-quiz2/pull/23"},"issue":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz2/issues/23"},"comments":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz2/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz2/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz2/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/ga-dc/wdi7-quiz2/statuses/47e981a398693ec220a3be271d7df8cc12fd1f2d"}}}}