{"action":"created","comment":{"url":"https://api.github.com/repos/ga-dc/pixart_js/pulls/comments/29334086","id":29334086,"diff_hunk":"@@ -1 +1,31 @@\n+//* When I click the \"Set Color\" button, it should change the color of the \"brush\" box to the color I specify in the input field. (**Hint:** You will need to use `event.preventDefault()` somewhere in your code.)","path":"pixart.js","position":1,"original_position":1,"commit_id":"2d246d4abf31820504f0e32da40f9a9d9093fa2c","original_commit_id":"2d246d4abf31820504f0e32da40f9a9d9093fa2c","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":"Hey John,\r\n\r\nIt looks like your first (or biggest) issue to fix is that you define 3 functions here, but they are never called, so nothing ever happens. \r\n\r\nI can't tell what your process was, but looking at your code, it looks like you kept trying to solve more problems without solving the first ones. In programming, order often matters, it's not worth moving forward until you've solved the first problem. Another way to say that is perhaps \"always try to solve the simplest problem you can\".\r\n\r\nFor example, instead of  \r\n>When I click the \"Set Color\" button, it should change the color of the \"brush\" box to the color I specify in the input field.\r\n\r\nsolve:\r\n> when I click the \"Set Color\" button, I should get an alert that pops up. (or console.log, whichever you prefer)\r\nthen\r\n> when I click the \"Set Color\" button, I should get an alert that pops up with the text of what was typed in the box\r\nthen\r\n> when I click the \"Set Color\" button, it should change the color of the brush box to \"red\"\r\nthen\r\n> when I click the \"Set Color\" button, it should change the color of the brush box to whatever I typed in the box.","created_at":"2015-04-29T13:19:21Z","updated_at":"2015-04-29T13:19:21Z","html_url":"https://github.com/ga-dc/pixart_js/pull/24#discussion_r29334086","pull_request_url":"https://api.github.com/repos/ga-dc/pixart_js/pulls/24","_links":{"self":{"href":"https://api.github.com/repos/ga-dc/pixart_js/pulls/comments/29334086"},"html":{"href":"https://github.com/ga-dc/pixart_js/pull/24#discussion_r29334086"},"pull_request":{"href":"https://api.github.com/repos/ga-dc/pixart_js/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/ga-dc/pixart_js/pulls/24","id":34358445,"html_url":"https://github.com/ga-dc/pixart_js/pull/24","diff_url":"https://github.com/ga-dc/pixart_js/pull/24.diff","patch_url":"https://github.com/ga-dc/pixart_js/pull/24.patch","issue_url":"https://api.github.com/repos/ga-dc/pixart_js/issues/24","number":24,"state":"open","locked":false,"title":"w07d02 HW","user":{"login":"tsetoung","id":11231038,"avatar_url":"https://avatars.githubusercontent.com/u/11231038?v=3","gravatar_id":"","url":"https://api.github.com/users/tsetoung","html_url":"https://github.com/tsetoung","followers_url":"https://api.github.com/users/tsetoung/followers","following_url":"https://api.github.com/users/tsetoung/following{/other_user}","gists_url":"https://api.github.com/users/tsetoung/gists{/gist_id}","starred_url":"https://api.github.com/users/tsetoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsetoung/subscriptions","organizations_url":"https://api.github.com/users/tsetoung/orgs","repos_url":"https://api.github.com/users/tsetoung/repos","events_url":"https://api.github.com/users/tsetoung/events{/privacy}","received_events_url":"https://api.github.com/users/tsetoung/received_events","type":"User","site_admin":false},"body":"Comfort: 3\r\nCompleteness: 3\r\nNotes: Will need to run through code again to ensure working model.  Events and DOM is challenging.  \r\nWill run through this HW again.  \r\n\r\n","created_at":"2015-04-29T12:41:05Z","updated_at":"2015-04-29T13:19:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"72b3af1ee91d5f3e8c6c2155a837d1ec19687fa7","assignee":{"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},"milestone":null,"commits_url":"https://api.github.com/repos/ga-dc/pixart_js/pulls/24/commits","review_comments_url":"https://api.github.com/repos/ga-dc/pixart_js/pulls/24/comments","review_comment_url":"https://api.github.com/repos/ga-dc/pixart_js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ga-dc/pixart_js/issues/24/comments","statuses_url":"https://api.github.com/repos/ga-dc/pixart_js/statuses/2d246d4abf31820504f0e32da40f9a9d9093fa2c","head":{"label":"tsetoung:master","ref":"master","sha":"2d246d4abf31820504f0e32da40f9a9d9093fa2c","user":{"login":"tsetoung","id":11231038,"avatar_url":"https://avatars.githubusercontent.com/u/11231038?v=3","gravatar_id":"","url":"https://api.github.com/users/tsetoung","html_url":"https://github.com/tsetoung","followers_url":"https://api.github.com/users/tsetoung/followers","following_url":"https://api.github.com/users/tsetoung/following{/other_user}","gists_url":"https://api.github.com/users/tsetoung/gists{/gist_id}","starred_url":"https://api.github.com/users/tsetoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsetoung/subscriptions","organizations_url":"https://api.github.com/users/tsetoung/orgs","repos_url":"https://api.github.com/users/tsetoung/repos","events_url":"https://api.github.com/users/tsetoung/events{/privacy}","received_events_url":"https://api.github.com/users/tsetoung/received_events","type":"User","site_admin":false},"repo":{"id":34777845,"name":"pixart_js","full_name":"tsetoung/pixart_js","owner":{"login":"tsetoung","id":11231038,"avatar_url":"https://avatars.githubusercontent.com/u/11231038?v=3","gravatar_id":"","url":"https://api.github.com/users/tsetoung","html_url":"https://github.com/tsetoung","followers_url":"https://api.github.com/users/tsetoung/followers","following_url":"https://api.github.com/users/tsetoung/following{/other_user}","gists_url":"https://api.github.com/users/tsetoung/gists{/gist_id}","starred_url":"https://api.github.com/users/tsetoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tsetoung/subscriptions","organizations_url":"https://api.github.com/users/tsetoung/orgs","repos_url":"https://api.github.com/users/tsetoung/repos","events_url":"https://api.github.com/users/tsetoung/events{/privacy}","received_events_url":"https://api.github.com/users/tsetoung/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tsetoung/pixart_js","description":"","fork":true,"url":"https://api.github.com/repos/tsetoung/pixart_js","forks_url":"https://api.github.com/repos/tsetoung/pixart_js/forks","keys_url":"https://api.github.com/repos/tsetoung/pixart_js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tsetoung/pixart_js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tsetoung/pixart_js/teams","hooks_url":"https://api.github.com/repos/tsetoung/pixart_js/hooks","issue_events_url":"https://api.github.com/repos/tsetoung/pixart_js/issues/events{/number}","events_url":"https://api.github.com/repos/tsetoung/pixart_js/events","assignees_url":"https://api.github.com/repos/tsetoung/pixart_js/assignees{/user}","branches_url":"https://api.github.com/repos/tsetoung/pixart_js/branches{/branch}","tags_url":"https://api.github.com/repos/tsetoung/pixart_js/tags","blobs_url":"https://api.github.com/repos/tsetoung/pixart_js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tsetoung/pixart_js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tsetoung/pixart_js/git/refs{/sha}","trees_url":"https://api.github.com/repos/tsetoung/pixart_js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tsetoung/pixart_js/statuses/{sha}","languages_url":"https://api.github.com/repos/tsetoung/pixart_js/languages","stargazers_url":"https://api.github.com/repos/tsetoung/pixart_js/stargazers","contributors_url":"https://api.github.com/repos/tsetoung/pixart_js/contributors","subscribers_url":"https://api.github.com/repos/tsetoung/pixart_js/subscribers","subscription_url":"https://api.github.com/repos/tsetoung/pixart_js/subscription","commits_url":"https://api.github.com/repos/tsetoung/pixart_js/commits{/sha}","git_commits_url":"https://api.github.com/repos/tsetoung/pixart_js/git/commits{/sha}","comments_url":"https://api.github.com/repos/tsetoung/pixart_js/comments{/number}","issue_comment_url":"https://api.github.com/repos/tsetoung/pixart_js/issues/comments{/number}","contents_url":"https://api.github.com/repos/tsetoung/pixart_js/contents/{+path}","compare_url":"https://api.github.com/repos/tsetoung/pixart_js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tsetoung/pixart_js/merges","archive_url":"https://api.github.com/repos/tsetoung/pixart_js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tsetoung/pixart_js/downloads","issues_url":"https://api.github.com/repos/tsetoung/pixart_js/issues{/number}","pulls_url":"https://api.github.com/repos/tsetoung/pixart_js/pulls{/number}","milestones_url":"https://api.github.com/repos/tsetoung/pixart_js/milestones{/number}","notifications_url":"https://api.github.com/repos/tsetoung/pixart_js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tsetoung/pixart_js/labels{/name}","releases_url":"https://api.github.com/repos/tsetoung/pixart_js/releases{/id}","created_at":"2015-04-29T07:06:44Z","updated_at":"2015-04-29T12:38:20Z","pushed_at":"2015-04-29T12:38:20Z","git_url":"git://github.com/tsetoung/pixart_js.git","ssh_url":"git@github.com:tsetoung/pixart_js.git","clone_url":"https://github.com/tsetoung/pixart_js.git","svn_url":"https://github.com/tsetoung/pixart_js","homepage":null,"size":841,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"d125a718987f76dcf2ed700e72cc5177a660665d","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":34754821,"name":"pixart_js","full_name":"ga-dc/pixart_js","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/pixart_js","description":"","fork":false,"url":"https://api.github.com/repos/ga-dc/pixart_js","forks_url":"https://api.github.com/repos/ga-dc/pixart_js/forks","keys_url":"https://api.github.com/repos/ga-dc/pixart_js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ga-dc/pixart_js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ga-dc/pixart_js/teams","hooks_url":"https://api.github.com/repos/ga-dc/pixart_js/hooks","issue_events_url":"https://api.github.com/repos/ga-dc/pixart_js/issues/events{/number}","events_url":"https://api.github.com/repos/ga-dc/pixart_js/events","assignees_url":"https://api.github.com/repos/ga-dc/pixart_js/assignees{/user}","branches_url":"https://api.github.com/repos/ga-dc/pixart_js/branches{/branch}","tags_url":"https://api.github.com/repos/ga-dc/pixart_js/tags","blobs_url":"https://api.github.com/repos/ga-dc/pixart_js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ga-dc/pixart_js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ga-dc/pixart_js/git/refs{/sha}","trees_url":"https://api.github.com/repos/ga-dc/pixart_js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ga-dc/pixart_js/statuses/{sha}","languages_url":"https://api.github.com/repos/ga-dc/pixart_js/languages","stargazers_url":"https://api.github.com/repos/ga-dc/pixart_js/stargazers","contributors_url":"https://api.github.com/repos/ga-dc/pixart_js/contributors","subscribers_url":"https://api.github.com/repos/ga-dc/pixart_js/subscribers","subscription_url":"https://api.github.com/repos/ga-dc/pixart_js/subscription","commits_url":"https://api.github.com/repos/ga-dc/pixart_js/commits{/sha}","git_commits_url":"https://api.github.com/repos/ga-dc/pixart_js/git/commits{/sha}","comments_url":"https://api.github.com/repos/ga-dc/pixart_js/comments{/number}","issue_comment_url":"https://api.github.com/repos/ga-dc/pixart_js/issues/comments{/number}","contents_url":"https://api.github.com/repos/ga-dc/pixart_js/contents/{+path}","compare_url":"https://api.github.com/repos/ga-dc/pixart_js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ga-dc/pixart_js/merges","archive_url":"https://api.github.com/repos/ga-dc/pixart_js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ga-dc/pixart_js/downloads","issues_url":"https://api.github.com/repos/ga-dc/pixart_js/issues{/number}","pulls_url":"https://api.github.com/repos/ga-dc/pixart_js/pulls{/number}","milestones_url":"https://api.github.com/repos/ga-dc/pixart_js/milestones{/number}","notifications_url":"https://api.github.com/repos/ga-dc/pixart_js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ga-dc/pixart_js/labels{/name}","releases_url":"https://api.github.com/repos/ga-dc/pixart_js/releases{/id}","created_at":"2015-04-28T20:41:44Z","updated_at":"2015-04-28T20:47:11Z","pushed_at":"2015-04-29T13:05:03Z","git_url":"git://github.com/ga-dc/pixart_js.git","ssh_url":"git@github.com:ga-dc/pixart_js.git","clone_url":"https://github.com/ga-dc/pixart_js.git","svn_url":"https://github.com/ga-dc/pixart_js","homepage":null,"size":841,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":39,"mirror_url":null,"open_issues_count":23,"forks":39,"open_issues":23,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ga-dc/pixart_js/pulls/24"},"html":{"href":"https://github.com/ga-dc/pixart_js/pull/24"},"issue":{"href":"https://api.github.com/repos/ga-dc/pixart_js/issues/24"},"comments":{"href":"https://api.github.com/repos/ga-dc/pixart_js/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/ga-dc/pixart_js/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/ga-dc/pixart_js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ga-dc/pixart_js/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/ga-dc/pixart_js/statuses/2d246d4abf31820504f0e32da40f9a9d9093fa2c"}}}}