{"action":"created","comment":{"url":"https://api.github.com/repos/htc-ccis2591/dom-access/pulls/comments/81495814","pull_request_review_id":2471864,"id":81495814,"diff_hunk":"@@ -1 +1,21 @@\n+function hidePics() {\r\n+    var pics = document.getElementsByTagName(\"img\");\r\n+    for (i = 0; i < pics.length; i++) {\r\n+        pic = pics[i];\r\n+        pic.setAttribute(\"class\", \"hide\")\r","path":"js/script.js","position":5,"original_position":5,"commit_id":"fbc377b26707407e53ea50c8fb508e57d741a27a","original_commit_id":"fbc377b26707407e53ea50c8fb508e57d741a27a","user":{"login":"mbMosman","id":5143491,"avatar_url":"https://avatars.githubusercontent.com/u/5143491?v=3","gravatar_id":"","url":"https://api.github.com/users/mbMosman","html_url":"https://github.com/mbMosman","followers_url":"https://api.github.com/users/mbMosman/followers","following_url":"https://api.github.com/users/mbMosman/following{/other_user}","gists_url":"https://api.github.com/users/mbMosman/gists{/gist_id}","starred_url":"https://api.github.com/users/mbMosman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbMosman/subscriptions","organizations_url":"https://api.github.com/users/mbMosman/orgs","repos_url":"https://api.github.com/users/mbMosman/repos","events_url":"https://api.github.com/users/mbMosman/events{/privacy}","received_events_url":"https://api.github.com/users/mbMosman/received_events","type":"User","site_admin":false},"body":"Nice work with this.","created_at":"2016-10-03T06:28:21Z","updated_at":"2016-10-03T06:29:04Z","html_url":"https://github.com/htc-ccis2591/dom-access/pull/19#discussion_r81495814","pull_request_url":"https://api.github.com/repos/htc-ccis2591/dom-access/pulls/19","_links":{"self":{"href":"https://api.github.com/repos/htc-ccis2591/dom-access/pulls/comments/81495814"},"html":{"href":"https://github.com/htc-ccis2591/dom-access/pull/19#discussion_r81495814"},"pull_request":{"href":"https://api.github.com/repos/htc-ccis2591/dom-access/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/htc-ccis2591/dom-access/pulls/19","id":85195843,"html_url":"https://github.com/htc-ccis2591/dom-access/pull/19","diff_url":"https://github.com/htc-ccis2591/dom-access/pull/19.diff","patch_url":"https://github.com/htc-ccis2591/dom-access/pull/19.patch","issue_url":"https://api.github.com/repos/htc-ccis2591/dom-access/issues/19","number":19,"state":"open","locked":false,"title":"week 2 the DOM ","user":{"login":"CWMyster","id":14023410,"avatar_url":"https://avatars.githubusercontent.com/u/14023410?v=3","gravatar_id":"","url":"https://api.github.com/users/CWMyster","html_url":"https://github.com/CWMyster","followers_url":"https://api.github.com/users/CWMyster/followers","following_url":"https://api.github.com/users/CWMyster/following{/other_user}","gists_url":"https://api.github.com/users/CWMyster/gists{/gist_id}","starred_url":"https://api.github.com/users/CWMyster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CWMyster/subscriptions","organizations_url":"https://api.github.com/users/CWMyster/orgs","repos_url":"https://api.github.com/users/CWMyster/repos","events_url":"https://api.github.com/users/CWMyster/events{/privacy}","received_events_url":"https://api.github.com/users/CWMyster/received_events","type":"User","site_admin":false},"body":"1. getElementsByTagName();\r\n\r\n2. getElementById.firstChild;\r\n\r\n3. var menuItem = document.getElementsByClassName(\"menu-item\");\r\n\r\n4. var listItem = document.getElementsByTagName('li');\r\n\r\n5. var menuImage = document.getElementById(\"ul[0]\".childNode); \r\n\r\n//I know this is incorrect\r\n\r\n6. var listDivs = document.getElementsByTagName(\"div\");\r\n   var listItems = document.getElementsByTagName(\"div[2]\").childNodes;\r\n\r\n//also incorrect, feeling frustrated\r\n","created_at":"2016-09-14T09:38:49Z","updated_at":"2016-10-03T06:29:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5f78c791a4d48207a8ddfcda23abf66051c7bf96","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/htc-ccis2591/dom-access/pulls/19/commits","review_comments_url":"https://api.github.com/repos/htc-ccis2591/dom-access/pulls/19/comments","review_comment_url":"https://api.github.com/repos/htc-ccis2591/dom-access/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htc-ccis2591/dom-access/issues/19/comments","statuses_url":"https://api.github.com/repos/htc-ccis2591/dom-access/statuses/fbc377b26707407e53ea50c8fb508e57d741a27a","head":{"label":"CWMyster:gh-pages","ref":"gh-pages","sha":"fbc377b26707407e53ea50c8fb508e57d741a27a","user":{"login":"CWMyster","id":14023410,"avatar_url":"https://avatars.githubusercontent.com/u/14023410?v=3","gravatar_id":"","url":"https://api.github.com/users/CWMyster","html_url":"https://github.com/CWMyster","followers_url":"https://api.github.com/users/CWMyster/followers","following_url":"https://api.github.com/users/CWMyster/following{/other_user}","gists_url":"https://api.github.com/users/CWMyster/gists{/gist_id}","starred_url":"https://api.github.com/users/CWMyster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CWMyster/subscriptions","organizations_url":"https://api.github.com/users/CWMyster/orgs","repos_url":"https://api.github.com/users/CWMyster/repos","events_url":"https://api.github.com/users/CWMyster/events{/privacy}","received_events_url":"https://api.github.com/users/CWMyster/received_events","type":"User","site_admin":false},"repo":{"id":67655839,"name":"dom-access","full_name":"CWMyster/dom-access","owner":{"login":"CWMyster","id":14023410,"avatar_url":"https://avatars.githubusercontent.com/u/14023410?v=3","gravatar_id":"","url":"https://api.github.com/users/CWMyster","html_url":"https://github.com/CWMyster","followers_url":"https://api.github.com/users/CWMyster/followers","following_url":"https://api.github.com/users/CWMyster/following{/other_user}","gists_url":"https://api.github.com/users/CWMyster/gists{/gist_id}","starred_url":"https://api.github.com/users/CWMyster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CWMyster/subscriptions","organizations_url":"https://api.github.com/users/CWMyster/orgs","repos_url":"https://api.github.com/users/CWMyster/repos","events_url":"https://api.github.com/users/CWMyster/events{/privacy}","received_events_url":"https://api.github.com/users/CWMyster/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CWMyster/dom-access","description":"DOM Access Assignment (Moonflower's Coffee Shop)","fork":true,"url":"https://api.github.com/repos/CWMyster/dom-access","forks_url":"https://api.github.com/repos/CWMyster/dom-access/forks","keys_url":"https://api.github.com/repos/CWMyster/dom-access/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CWMyster/dom-access/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CWMyster/dom-access/teams","hooks_url":"https://api.github.com/repos/CWMyster/dom-access/hooks","issue_events_url":"https://api.github.com/repos/CWMyster/dom-access/issues/events{/number}","events_url":"https://api.github.com/repos/CWMyster/dom-access/events","assignees_url":"https://api.github.com/repos/CWMyster/dom-access/assignees{/user}","branches_url":"https://api.github.com/repos/CWMyster/dom-access/branches{/branch}","tags_url":"https://api.github.com/repos/CWMyster/dom-access/tags","blobs_url":"https://api.github.com/repos/CWMyster/dom-access/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CWMyster/dom-access/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CWMyster/dom-access/git/refs{/sha}","trees_url":"https://api.github.com/repos/CWMyster/dom-access/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CWMyster/dom-access/statuses/{sha}","languages_url":"https://api.github.com/repos/CWMyster/dom-access/languages","stargazers_url":"https://api.github.com/repos/CWMyster/dom-access/stargazers","contributors_url":"https://api.github.com/repos/CWMyster/dom-access/contributors","subscribers_url":"https://api.github.com/repos/CWMyster/dom-access/subscribers","subscription_url":"https://api.github.com/repos/CWMyster/dom-access/subscription","commits_url":"https://api.github.com/repos/CWMyster/dom-access/commits{/sha}","git_commits_url":"https://api.github.com/repos/CWMyster/dom-access/git/commits{/sha}","comments_url":"https://api.github.com/repos/CWMyster/dom-access/comments{/number}","issue_comment_url":"https://api.github.com/repos/CWMyster/dom-access/issues/comments{/number}","contents_url":"https://api.github.com/repos/CWMyster/dom-access/contents/{+path}","compare_url":"https://api.github.com/repos/CWMyster/dom-access/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CWMyster/dom-access/merges","archive_url":"https://api.github.com/repos/CWMyster/dom-access/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CWMyster/dom-access/downloads","issues_url":"https://api.github.com/repos/CWMyster/dom-access/issues{/number}","pulls_url":"https://api.github.com/repos/CWMyster/dom-access/pulls{/number}","milestones_url":"https://api.github.com/repos/CWMyster/dom-access/milestones{/number}","notifications_url":"https://api.github.com/repos/CWMyster/dom-access/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CWMyster/dom-access/labels{/name}","releases_url":"https://api.github.com/repos/CWMyster/dom-access/releases{/id}","deployments_url":"https://api.github.com/repos/CWMyster/dom-access/deployments","created_at":"2016-09-08T01:09:47Z","updated_at":"2016-09-08T01:09:48Z","pushed_at":"2016-09-14T09:22:16Z","git_url":"git://github.com/CWMyster/dom-access.git","ssh_url":"git@github.com:CWMyster/dom-access.git","clone_url":"https://github.com/CWMyster/dom-access.git","svn_url":"https://github.com/CWMyster/dom-access","homepage":"http://htc-ccis2591.github.io/dom-access/","size":242,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"htc-ccis2591:gh-pages","ref":"gh-pages","sha":"50e0a9fae0706f9b5fca3229fa7e47513021aadb","user":{"login":"htc-ccis2591","id":12668622,"avatar_url":"https://avatars.githubusercontent.com/u/12668622?v=3","gravatar_id":"","url":"https://api.github.com/users/htc-ccis2591","html_url":"https://github.com/htc-ccis2591","followers_url":"https://api.github.com/users/htc-ccis2591/followers","following_url":"https://api.github.com/users/htc-ccis2591/following{/other_user}","gists_url":"https://api.github.com/users/htc-ccis2591/gists{/gist_id}","starred_url":"https://api.github.com/users/htc-ccis2591/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htc-ccis2591/subscriptions","organizations_url":"https://api.github.com/users/htc-ccis2591/orgs","repos_url":"https://api.github.com/users/htc-ccis2591/repos","events_url":"https://api.github.com/users/htc-ccis2591/events{/privacy}","received_events_url":"https://api.github.com/users/htc-ccis2591/received_events","type":"Organization","site_admin":false},"repo":{"id":41830116,"name":"dom-access","full_name":"htc-ccis2591/dom-access","owner":{"login":"htc-ccis2591","id":12668622,"avatar_url":"https://avatars.githubusercontent.com/u/12668622?v=3","gravatar_id":"","url":"https://api.github.com/users/htc-ccis2591","html_url":"https://github.com/htc-ccis2591","followers_url":"https://api.github.com/users/htc-ccis2591/followers","following_url":"https://api.github.com/users/htc-ccis2591/following{/other_user}","gists_url":"https://api.github.com/users/htc-ccis2591/gists{/gist_id}","starred_url":"https://api.github.com/users/htc-ccis2591/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htc-ccis2591/subscriptions","organizations_url":"https://api.github.com/users/htc-ccis2591/orgs","repos_url":"https://api.github.com/users/htc-ccis2591/repos","events_url":"https://api.github.com/users/htc-ccis2591/events{/privacy}","received_events_url":"https://api.github.com/users/htc-ccis2591/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/htc-ccis2591/dom-access","description":"DOM Access Assignment (Moonflower's Coffee Shop)","fork":false,"url":"https://api.github.com/repos/htc-ccis2591/dom-access","forks_url":"https://api.github.com/repos/htc-ccis2591/dom-access/forks","keys_url":"https://api.github.com/repos/htc-ccis2591/dom-access/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htc-ccis2591/dom-access/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htc-ccis2591/dom-access/teams","hooks_url":"https://api.github.com/repos/htc-ccis2591/dom-access/hooks","issue_events_url":"https://api.github.com/repos/htc-ccis2591/dom-access/issues/events{/number}","events_url":"https://api.github.com/repos/htc-ccis2591/dom-access/events","assignees_url":"https://api.github.com/repos/htc-ccis2591/dom-access/assignees{/user}","branches_url":"https://api.github.com/repos/htc-ccis2591/dom-access/branches{/branch}","tags_url":"https://api.github.com/repos/htc-ccis2591/dom-access/tags","blobs_url":"https://api.github.com/repos/htc-ccis2591/dom-access/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htc-ccis2591/dom-access/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htc-ccis2591/dom-access/git/refs{/sha}","trees_url":"https://api.github.com/repos/htc-ccis2591/dom-access/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htc-ccis2591/dom-access/statuses/{sha}","languages_url":"https://api.github.com/repos/htc-ccis2591/dom-access/languages","stargazers_url":"https://api.github.com/repos/htc-ccis2591/dom-access/stargazers","contributors_url":"https://api.github.com/repos/htc-ccis2591/dom-access/contributors","subscribers_url":"https://api.github.com/repos/htc-ccis2591/dom-access/subscribers","subscription_url":"https://api.github.com/repos/htc-ccis2591/dom-access/subscription","commits_url":"https://api.github.com/repos/htc-ccis2591/dom-access/commits{/sha}","git_commits_url":"https://api.github.com/repos/htc-ccis2591/dom-access/git/commits{/sha}","comments_url":"https://api.github.com/repos/htc-ccis2591/dom-access/comments{/number}","issue_comment_url":"https://api.github.com/repos/htc-ccis2591/dom-access/issues/comments{/number}","contents_url":"https://api.github.com/repos/htc-ccis2591/dom-access/contents/{+path}","compare_url":"https://api.github.com/repos/htc-ccis2591/dom-access/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htc-ccis2591/dom-access/merges","archive_url":"https://api.github.com/repos/htc-ccis2591/dom-access/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htc-ccis2591/dom-access/downloads","issues_url":"https://api.github.com/repos/htc-ccis2591/dom-access/issues{/number}","pulls_url":"https://api.github.com/repos/htc-ccis2591/dom-access/pulls{/number}","milestones_url":"https://api.github.com/repos/htc-ccis2591/dom-access/milestones{/number}","notifications_url":"https://api.github.com/repos/htc-ccis2591/dom-access/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htc-ccis2591/dom-access/labels{/name}","releases_url":"https://api.github.com/repos/htc-ccis2591/dom-access/releases{/id}","deployments_url":"https://api.github.com/repos/htc-ccis2591/dom-access/deployments","created_at":"2015-09-02T22:07:56Z","updated_at":"2016-09-07T22:42:08Z","pushed_at":"2016-09-15T00:44:29Z","git_url":"git://github.com/htc-ccis2591/dom-access.git","ssh_url":"git@github.com:htc-ccis2591/dom-access.git","clone_url":"https://github.com/htc-ccis2591/dom-access.git","svn_url":"https://github.com/htc-ccis2591/dom-access","homepage":"http://htc-ccis2591.github.io/dom-access/","size":525,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":39,"mirror_url":null,"open_issues_count":3,"forks":39,"open_issues":3,"watchers":0,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/htc-ccis2591/dom-access/pulls/19"},"html":{"href":"https://github.com/htc-ccis2591/dom-access/pull/19"},"issue":{"href":"https://api.github.com/repos/htc-ccis2591/dom-access/issues/19"},"comments":{"href":"https://api.github.com/repos/htc-ccis2591/dom-access/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/htc-ccis2591/dom-access/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/htc-ccis2591/dom-access/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htc-ccis2591/dom-access/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/htc-ccis2591/dom-access/statuses/fbc377b26707407e53ea50c8fb508e57d741a27a"}}}}
{"actor":{"display_login":"mbMosman"}}