{"action":"created","comment":{"url":"https://api.github.com/repos/kayleenovak/IdeaBox/pulls/comments/215133554","pull_request_review_id":152330864,"id":215133554,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNTEzMzU1NA==","diff_hunk":"@@ -22,6 +54,31 @@ function clearInputs() {\n \n function deleteIdea(event) {\n   if (event.target.classList.contains('delete-btn')) {\n+    var id = $(event.target).parent().parent().attr('id');\n+    localStorage.removeItem(id);  \n     $(event.target).parent().parent().remove();\n   }\n+}\n+\n+function NewIdea(title, body) {\n+  this.id = $.now();\n+  this.title = title;\n+  this.body = body;\n+  this.quality = 'swill'\n+}\n+\n+function createIdea(title, body) {\n+  var newIdea = new NewIdea(title, body);\n+  var stringifiedIdea = JSON.stringify(newIdea);\n+  localStorage.setItem(newIdea.id, stringifiedIdea); \n+  return newIdea.id\n+};\n+\n+function recallCards() {\n+  for (var i = 0; i < localStorage.length; i++) {\n+    var retrieveIdea = localStorage.getItem(localStorage.key(i));\n+    var parsedIdea = JSON.parse(retrieveIdea);","path":"script.js","position":88,"original_position":88,"commit_id":"84939cb2d967f3af18a6519a2c45a01b4dda2ab5","original_commit_id":"84939cb2d967f3af18a6519a2c45a01b4dda2ab5","user":{"login":"ascension","id":3924981,"node_id":"MDQ6VXNlcjM5MjQ5ODE=","avatar_url":"https://avatars2.githubusercontent.com/u/3924981?v=4","gravatar_id":"","url":"https://api.github.com/users/ascension","html_url":"https://github.com/ascension","followers_url":"https://api.github.com/users/ascension/followers","following_url":"https://api.github.com/users/ascension/following{/other_user}","gists_url":"https://api.github.com/users/ascension/gists{/gist_id}","starred_url":"https://api.github.com/users/ascension/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ascension/subscriptions","organizations_url":"https://api.github.com/users/ascension/orgs","repos_url":"https://api.github.com/users/ascension/repos","events_url":"https://api.github.com/users/ascension/events{/privacy}","received_events_url":"https://api.github.com/users/ascension/received_events","type":"User","site_admin":false},"body":"lines 79-80 are the same as 13-14. Pull this into a new function.","created_at":"2018-09-05T04:34:23Z","updated_at":"2018-09-05T04:44:11Z","html_url":"https://github.com/kayleenovak/IdeaBox/pull/3#discussion_r215133554","pull_request_url":"https://api.github.com/repos/kayleenovak/IdeaBox/pulls/3","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/kayleenovak/IdeaBox/pulls/comments/215133554"},"html":{"href":"https://github.com/kayleenovak/IdeaBox/pull/3#discussion_r215133554"},"pull_request":{"href":"https://api.github.com/repos/kayleenovak/IdeaBox/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/kayleenovak/IdeaBox/pulls/3","id":213165479,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzMTY1NDc5","html_url":"https://github.com/kayleenovak/IdeaBox/pull/3","diff_url":"https://github.com/kayleenovak/IdeaBox/pull/3.diff","patch_url":"https://github.com/kayleenovak/IdeaBox/pull/3.patch","issue_url":"https://api.github.com/repos/kayleenovak/IdeaBox/issues/3","number":3,"state":"open","locked":false,"title":"Js begin","user":{"login":"ascension","id":3924981,"node_id":"MDQ6VXNlcjM5MjQ5ODE=","avatar_url":"https://avatars2.githubusercontent.com/u/3924981?v=4","gravatar_id":"","url":"https://api.github.com/users/ascension","html_url":"https://github.com/ascension","followers_url":"https://api.github.com/users/ascension/followers","following_url":"https://api.github.com/users/ascension/following{/other_user}","gists_url":"https://api.github.com/users/ascension/gists{/gist_id}","starred_url":"https://api.github.com/users/ascension/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ascension/subscriptions","organizations_url":"https://api.github.com/users/ascension/orgs","repos_url":"https://api.github.com/users/ascension/repos","events_url":"https://api.github.com/users/ascension/events{/privacy}","received_events_url":"https://api.github.com/users/ascension/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-05T04:21:51Z","updated_at":"2018-09-05T04:44:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9a20327aaff21188f08e447f36ba7a9420e26a07","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kayleenovak/IdeaBox/pulls/3/commits","review_comments_url":"https://api.github.com/repos/kayleenovak/IdeaBox/pulls/3/comments","review_comment_url":"https://api.github.com/repos/kayleenovak/IdeaBox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kayleenovak/IdeaBox/issues/3/comments","statuses_url":"https://api.github.com/repos/kayleenovak/IdeaBox/statuses/84939cb2d967f3af18a6519a2c45a01b4dda2ab5","head":{"label":"kayleenovak:JS-Begin","ref":"JS-Begin","sha":"84939cb2d967f3af18a6519a2c45a01b4dda2ab5","user":{"login":"kayleenovak","id":39439089,"node_id":"MDQ6VXNlcjM5NDM5MDg5","avatar_url":"https://avatars1.githubusercontent.com/u/39439089?v=4","gravatar_id":"","url":"https://api.github.com/users/kayleenovak","html_url":"https://github.com/kayleenovak","followers_url":"https://api.github.com/users/kayleenovak/followers","following_url":"https://api.github.com/users/kayleenovak/following{/other_user}","gists_url":"https://api.github.com/users/kayleenovak/gists{/gist_id}","starred_url":"https://api.github.com/users/kayleenovak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayleenovak/subscriptions","organizations_url":"https://api.github.com/users/kayleenovak/orgs","repos_url":"https://api.github.com/users/kayleenovak/repos","events_url":"https://api.github.com/users/kayleenovak/events{/privacy}","received_events_url":"https://api.github.com/users/kayleenovak/received_events","type":"User","site_admin":false},"repo":{"id":146945458,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY5NDU0NTg=","name":"IdeaBox","full_name":"kayleenovak/IdeaBox","owner":{"login":"kayleenovak","id":39439089,"node_id":"MDQ6VXNlcjM5NDM5MDg5","avatar_url":"https://avatars1.githubusercontent.com/u/39439089?v=4","gravatar_id":"","url":"https://api.github.com/users/kayleenovak","html_url":"https://github.com/kayleenovak","followers_url":"https://api.github.com/users/kayleenovak/followers","following_url":"https://api.github.com/users/kayleenovak/following{/other_user}","gists_url":"https://api.github.com/users/kayleenovak/gists{/gist_id}","starred_url":"https://api.github.com/users/kayleenovak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayleenovak/subscriptions","organizations_url":"https://api.github.com/users/kayleenovak/orgs","repos_url":"https://api.github.com/users/kayleenovak/repos","events_url":"https://api.github.com/users/kayleenovak/events{/privacy}","received_events_url":"https://api.github.com/users/kayleenovak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kayleenovak/IdeaBox","description":null,"fork":false,"url":"https://api.github.com/repos/kayleenovak/IdeaBox","forks_url":"https://api.github.com/repos/kayleenovak/IdeaBox/forks","keys_url":"https://api.github.com/repos/kayleenovak/IdeaBox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kayleenovak/IdeaBox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kayleenovak/IdeaBox/teams","hooks_url":"https://api.github.com/repos/kayleenovak/IdeaBox/hooks","issue_events_url":"https://api.github.com/repos/kayleenovak/IdeaBox/issues/events{/number}","events_url":"https://api.github.com/repos/kayleenovak/IdeaBox/events","assignees_url":"https://api.github.com/repos/kayleenovak/IdeaBox/assignees{/user}","branches_url":"https://api.github.com/repos/kayleenovak/IdeaBox/branches{/branch}","tags_url":"https://api.github.com/repos/kayleenovak/IdeaBox/tags","blobs_url":"https://api.github.com/repos/kayleenovak/IdeaBox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kayleenovak/IdeaBox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kayleenovak/IdeaBox/git/refs{/sha}","trees_url":"https://api.github.com/repos/kayleenovak/IdeaBox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kayleenovak/IdeaBox/statuses/{sha}","languages_url":"https://api.github.com/repos/kayleenovak/IdeaBox/languages","stargazers_url":"https://api.github.com/repos/kayleenovak/IdeaBox/stargazers","contributors_url":"https://api.github.com/repos/kayleenovak/IdeaBox/contributors","subscribers_url":"https://api.github.com/repos/kayleenovak/IdeaBox/subscribers","subscription_url":"https://api.github.com/repos/kayleenovak/IdeaBox/subscription","commits_url":"https://api.github.com/repos/kayleenovak/IdeaBox/commits{/sha}","git_commits_url":"https://api.github.com/repos/kayleenovak/IdeaBox/git/commits{/sha}","comments_url":"https://api.github.com/repos/kayleenovak/IdeaBox/comments{/number}","issue_comment_url":"https://api.github.com/repos/kayleenovak/IdeaBox/issues/comments{/number}","contents_url":"https://api.github.com/repos/kayleenovak/IdeaBox/contents/{+path}","compare_url":"https://api.github.com/repos/kayleenovak/IdeaBox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kayleenovak/IdeaBox/merges","archive_url":"https://api.github.com/repos/kayleenovak/IdeaBox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kayleenovak/IdeaBox/downloads","issues_url":"https://api.github.com/repos/kayleenovak/IdeaBox/issues{/number}","pulls_url":"https://api.github.com/repos/kayleenovak/IdeaBox/pulls{/number}","milestones_url":"https://api.github.com/repos/kayleenovak/IdeaBox/milestones{/number}","notifications_url":"https://api.github.com/repos/kayleenovak/IdeaBox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kayleenovak/IdeaBox/labels{/name}","releases_url":"https://api.github.com/repos/kayleenovak/IdeaBox/releases{/id}","deployments_url":"https://api.github.com/repos/kayleenovak/IdeaBox/deployments","created_at":"2018-08-31T21:52:42Z","updated_at":"2018-09-02T18:16:27Z","pushed_at":"2018-09-05T04:22:50Z","git_url":"git://github.com/kayleenovak/IdeaBox.git","ssh_url":"git@github.com:kayleenovak/IdeaBox.git","clone_url":"https://github.com/kayleenovak/IdeaBox.git","svn_url":"https://github.com/kayleenovak/IdeaBox","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"kayleenovak:master","ref":"master","sha":"eb10b74d62468aa19f8f1261dba958c77351a25e","user":{"login":"kayleenovak","id":39439089,"node_id":"MDQ6VXNlcjM5NDM5MDg5","avatar_url":"https://avatars1.githubusercontent.com/u/39439089?v=4","gravatar_id":"","url":"https://api.github.com/users/kayleenovak","html_url":"https://github.com/kayleenovak","followers_url":"https://api.github.com/users/kayleenovak/followers","following_url":"https://api.github.com/users/kayleenovak/following{/other_user}","gists_url":"https://api.github.com/users/kayleenovak/gists{/gist_id}","starred_url":"https://api.github.com/users/kayleenovak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayleenovak/subscriptions","organizations_url":"https://api.github.com/users/kayleenovak/orgs","repos_url":"https://api.github.com/users/kayleenovak/repos","events_url":"https://api.github.com/users/kayleenovak/events{/privacy}","received_events_url":"https://api.github.com/users/kayleenovak/received_events","type":"User","site_admin":false},"repo":{"id":146945458,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY5NDU0NTg=","name":"IdeaBox","full_name":"kayleenovak/IdeaBox","owner":{"login":"kayleenovak","id":39439089,"node_id":"MDQ6VXNlcjM5NDM5MDg5","avatar_url":"https://avatars1.githubusercontent.com/u/39439089?v=4","gravatar_id":"","url":"https://api.github.com/users/kayleenovak","html_url":"https://github.com/kayleenovak","followers_url":"https://api.github.com/users/kayleenovak/followers","following_url":"https://api.github.com/users/kayleenovak/following{/other_user}","gists_url":"https://api.github.com/users/kayleenovak/gists{/gist_id}","starred_url":"https://api.github.com/users/kayleenovak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kayleenovak/subscriptions","organizations_url":"https://api.github.com/users/kayleenovak/orgs","repos_url":"https://api.github.com/users/kayleenovak/repos","events_url":"https://api.github.com/users/kayleenovak/events{/privacy}","received_events_url":"https://api.github.com/users/kayleenovak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kayleenovak/IdeaBox","description":null,"fork":false,"url":"https://api.github.com/repos/kayleenovak/IdeaBox","forks_url":"https://api.github.com/repos/kayleenovak/IdeaBox/forks","keys_url":"https://api.github.com/repos/kayleenovak/IdeaBox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kayleenovak/IdeaBox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kayleenovak/IdeaBox/teams","hooks_url":"https://api.github.com/repos/kayleenovak/IdeaBox/hooks","issue_events_url":"https://api.github.com/repos/kayleenovak/IdeaBox/issues/events{/number}","events_url":"https://api.github.com/repos/kayleenovak/IdeaBox/events","assignees_url":"https://api.github.com/repos/kayleenovak/IdeaBox/assignees{/user}","branches_url":"https://api.github.com/repos/kayleenovak/IdeaBox/branches{/branch}","tags_url":"https://api.github.com/repos/kayleenovak/IdeaBox/tags","blobs_url":"https://api.github.com/repos/kayleenovak/IdeaBox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kayleenovak/IdeaBox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kayleenovak/IdeaBox/git/refs{/sha}","trees_url":"https://api.github.com/repos/kayleenovak/IdeaBox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kayleenovak/IdeaBox/statuses/{sha}","languages_url":"https://api.github.com/repos/kayleenovak/IdeaBox/languages","stargazers_url":"https://api.github.com/repos/kayleenovak/IdeaBox/stargazers","contributors_url":"https://api.github.com/repos/kayleenovak/IdeaBox/contributors","subscribers_url":"https://api.github.com/repos/kayleenovak/IdeaBox/subscribers","subscription_url":"https://api.github.com/repos/kayleenovak/IdeaBox/subscription","commits_url":"https://api.github.com/repos/kayleenovak/IdeaBox/commits{/sha}","git_commits_url":"https://api.github.com/repos/kayleenovak/IdeaBox/git/commits{/sha}","comments_url":"https://api.github.com/repos/kayleenovak/IdeaBox/comments{/number}","issue_comment_url":"https://api.github.com/repos/kayleenovak/IdeaBox/issues/comments{/number}","contents_url":"https://api.github.com/repos/kayleenovak/IdeaBox/contents/{+path}","compare_url":"https://api.github.com/repos/kayleenovak/IdeaBox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kayleenovak/IdeaBox/merges","archive_url":"https://api.github.com/repos/kayleenovak/IdeaBox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kayleenovak/IdeaBox/downloads","issues_url":"https://api.github.com/repos/kayleenovak/IdeaBox/issues{/number}","pulls_url":"https://api.github.com/repos/kayleenovak/IdeaBox/pulls{/number}","milestones_url":"https://api.github.com/repos/kayleenovak/IdeaBox/milestones{/number}","notifications_url":"https://api.github.com/repos/kayleenovak/IdeaBox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kayleenovak/IdeaBox/labels{/name}","releases_url":"https://api.github.com/repos/kayleenovak/IdeaBox/releases{/id}","deployments_url":"https://api.github.com/repos/kayleenovak/IdeaBox/deployments","created_at":"2018-08-31T21:52:42Z","updated_at":"2018-09-02T18:16:27Z","pushed_at":"2018-09-05T04:22:50Z","git_url":"git://github.com/kayleenovak/IdeaBox.git","ssh_url":"git@github.com:kayleenovak/IdeaBox.git","clone_url":"https://github.com/kayleenovak/IdeaBox.git","svn_url":"https://github.com/kayleenovak/IdeaBox","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kayleenovak/IdeaBox/pulls/3"},"html":{"href":"https://github.com/kayleenovak/IdeaBox/pull/3"},"issue":{"href":"https://api.github.com/repos/kayleenovak/IdeaBox/issues/3"},"comments":{"href":"https://api.github.com/repos/kayleenovak/IdeaBox/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/kayleenovak/IdeaBox/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/kayleenovak/IdeaBox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kayleenovak/IdeaBox/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/kayleenovak/IdeaBox/statuses/84939cb2d967f3af18a6519a2c45a01b4dda2ab5"}},"author_association":"NONE"}}
{"actor":{"display_login":"ascension"}}