{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/cbdallavalle/palette-picker/pulls/1","id":174536216,"html_url":"https://github.com/cbdallavalle/palette-picker/pull/1","diff_url":"https://github.com/cbdallavalle/palette-picker/pull/1.diff","patch_url":"https://github.com/cbdallavalle/palette-picker/pull/1.patch","issue_url":"https://api.github.com/repos/cbdallavalle/palette-picker/issues/1","number":1,"state":"closed","locked":false,"title":"On click of the generate button, the function generateColors is calle…","user":{"login":"cbdallavalle","id":28467245,"avatar_url":"https://avatars0.githubusercontent.com/u/28467245?v=4","gravatar_id":"","url":"https://api.github.com/users/cbdallavalle","html_url":"https://github.com/cbdallavalle","followers_url":"https://api.github.com/users/cbdallavalle/followers","following_url":"https://api.github.com/users/cbdallavalle/following{/other_user}","gists_url":"https://api.github.com/users/cbdallavalle/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdallavalle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdallavalle/subscriptions","organizations_url":"https://api.github.com/users/cbdallavalle/orgs","repos_url":"https://api.github.com/users/cbdallavalle/repos","events_url":"https://api.github.com/users/cbdallavalle/events{/privacy}","received_events_url":"https://api.github.com/users/cbdallavalle/received_events","type":"User","site_admin":false},"body":"…d. It grabs the color sections and iterates through each, grabbing a random hex code value from the getRandomHex function. That is a recursive function that randomly picks a value from an array of numbers and letters found in hex codes, then returns an array with a hex code value to the parent function. generateColors then changes the background-color attribute of each section and changes it to a new hex code value","created_at":"2018-03-13T01:27:07Z","updated_at":"2018-03-13T01:27:13Z","closed_at":"2018-03-13T01:27:13Z","merged_at":"2018-03-13T01:27:13Z","merge_commit_sha":"baea2d9d6c871ae7eef85515f758c50d514eeff7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cbdallavalle/palette-picker/pulls/1/commits","review_comments_url":"https://api.github.com/repos/cbdallavalle/palette-picker/pulls/1/comments","review_comment_url":"https://api.github.com/repos/cbdallavalle/palette-picker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cbdallavalle/palette-picker/issues/1/comments","statuses_url":"https://api.github.com/repos/cbdallavalle/palette-picker/statuses/8193c00e1ff90c8fe4b3e77e6d473622be989583","head":{"label":"cbdallavalle:randomHex","ref":"randomHex","sha":"8193c00e1ff90c8fe4b3e77e6d473622be989583","user":{"login":"cbdallavalle","id":28467245,"avatar_url":"https://avatars0.githubusercontent.com/u/28467245?v=4","gravatar_id":"","url":"https://api.github.com/users/cbdallavalle","html_url":"https://github.com/cbdallavalle","followers_url":"https://api.github.com/users/cbdallavalle/followers","following_url":"https://api.github.com/users/cbdallavalle/following{/other_user}","gists_url":"https://api.github.com/users/cbdallavalle/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdallavalle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdallavalle/subscriptions","organizations_url":"https://api.github.com/users/cbdallavalle/orgs","repos_url":"https://api.github.com/users/cbdallavalle/repos","events_url":"https://api.github.com/users/cbdallavalle/events{/privacy}","received_events_url":"https://api.github.com/users/cbdallavalle/received_events","type":"User","site_admin":false},"repo":{"id":124942965,"name":"palette-picker","full_name":"cbdallavalle/palette-picker","owner":{"login":"cbdallavalle","id":28467245,"avatar_url":"https://avatars0.githubusercontent.com/u/28467245?v=4","gravatar_id":"","url":"https://api.github.com/users/cbdallavalle","html_url":"https://github.com/cbdallavalle","followers_url":"https://api.github.com/users/cbdallavalle/followers","following_url":"https://api.github.com/users/cbdallavalle/following{/other_user}","gists_url":"https://api.github.com/users/cbdallavalle/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdallavalle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdallavalle/subscriptions","organizations_url":"https://api.github.com/users/cbdallavalle/orgs","repos_url":"https://api.github.com/users/cbdallavalle/repos","events_url":"https://api.github.com/users/cbdallavalle/events{/privacy}","received_events_url":"https://api.github.com/users/cbdallavalle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbdallavalle/palette-picker","description":null,"fork":false,"url":"https://api.github.com/repos/cbdallavalle/palette-picker","forks_url":"https://api.github.com/repos/cbdallavalle/palette-picker/forks","keys_url":"https://api.github.com/repos/cbdallavalle/palette-picker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbdallavalle/palette-picker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbdallavalle/palette-picker/teams","hooks_url":"https://api.github.com/repos/cbdallavalle/palette-picker/hooks","issue_events_url":"https://api.github.com/repos/cbdallavalle/palette-picker/issues/events{/number}","events_url":"https://api.github.com/repos/cbdallavalle/palette-picker/events","assignees_url":"https://api.github.com/repos/cbdallavalle/palette-picker/assignees{/user}","branches_url":"https://api.github.com/repos/cbdallavalle/palette-picker/branches{/branch}","tags_url":"https://api.github.com/repos/cbdallavalle/palette-picker/tags","blobs_url":"https://api.github.com/repos/cbdallavalle/palette-picker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbdallavalle/palette-picker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbdallavalle/palette-picker/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbdallavalle/palette-picker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbdallavalle/palette-picker/statuses/{sha}","languages_url":"https://api.github.com/repos/cbdallavalle/palette-picker/languages","stargazers_url":"https://api.github.com/repos/cbdallavalle/palette-picker/stargazers","contributors_url":"https://api.github.com/repos/cbdallavalle/palette-picker/contributors","subscribers_url":"https://api.github.com/repos/cbdallavalle/palette-picker/subscribers","subscription_url":"https://api.github.com/repos/cbdallavalle/palette-picker/subscription","commits_url":"https://api.github.com/repos/cbdallavalle/palette-picker/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbdallavalle/palette-picker/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbdallavalle/palette-picker/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbdallavalle/palette-picker/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbdallavalle/palette-picker/contents/{+path}","compare_url":"https://api.github.com/repos/cbdallavalle/palette-picker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbdallavalle/palette-picker/merges","archive_url":"https://api.github.com/repos/cbdallavalle/palette-picker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbdallavalle/palette-picker/downloads","issues_url":"https://api.github.com/repos/cbdallavalle/palette-picker/issues{/number}","pulls_url":"https://api.github.com/repos/cbdallavalle/palette-picker/pulls{/number}","milestones_url":"https://api.github.com/repos/cbdallavalle/palette-picker/milestones{/number}","notifications_url":"https://api.github.com/repos/cbdallavalle/palette-picker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbdallavalle/palette-picker/labels{/name}","releases_url":"https://api.github.com/repos/cbdallavalle/palette-picker/releases{/id}","deployments_url":"https://api.github.com/repos/cbdallavalle/palette-picker/deployments","created_at":"2018-03-12T19:51:01Z","updated_at":"2018-03-12T19:51:01Z","pushed_at":"2018-03-13T01:27:13Z","git_url":"git://github.com/cbdallavalle/palette-picker.git","ssh_url":"git@github.com:cbdallavalle/palette-picker.git","clone_url":"https://github.com/cbdallavalle/palette-picker.git","svn_url":"https://github.com/cbdallavalle/palette-picker","homepage":null,"size":5,"stargazers_count":0,"watchers_count":0,"language":null,"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":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cbdallavalle:master","ref":"master","sha":"771c87aee35baf313b3f866f7dddb0b31291da97","user":{"login":"cbdallavalle","id":28467245,"avatar_url":"https://avatars0.githubusercontent.com/u/28467245?v=4","gravatar_id":"","url":"https://api.github.com/users/cbdallavalle","html_url":"https://github.com/cbdallavalle","followers_url":"https://api.github.com/users/cbdallavalle/followers","following_url":"https://api.github.com/users/cbdallavalle/following{/other_user}","gists_url":"https://api.github.com/users/cbdallavalle/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdallavalle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdallavalle/subscriptions","organizations_url":"https://api.github.com/users/cbdallavalle/orgs","repos_url":"https://api.github.com/users/cbdallavalle/repos","events_url":"https://api.github.com/users/cbdallavalle/events{/privacy}","received_events_url":"https://api.github.com/users/cbdallavalle/received_events","type":"User","site_admin":false},"repo":{"id":124942965,"name":"palette-picker","full_name":"cbdallavalle/palette-picker","owner":{"login":"cbdallavalle","id":28467245,"avatar_url":"https://avatars0.githubusercontent.com/u/28467245?v=4","gravatar_id":"","url":"https://api.github.com/users/cbdallavalle","html_url":"https://github.com/cbdallavalle","followers_url":"https://api.github.com/users/cbdallavalle/followers","following_url":"https://api.github.com/users/cbdallavalle/following{/other_user}","gists_url":"https://api.github.com/users/cbdallavalle/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdallavalle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdallavalle/subscriptions","organizations_url":"https://api.github.com/users/cbdallavalle/orgs","repos_url":"https://api.github.com/users/cbdallavalle/repos","events_url":"https://api.github.com/users/cbdallavalle/events{/privacy}","received_events_url":"https://api.github.com/users/cbdallavalle/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cbdallavalle/palette-picker","description":null,"fork":false,"url":"https://api.github.com/repos/cbdallavalle/palette-picker","forks_url":"https://api.github.com/repos/cbdallavalle/palette-picker/forks","keys_url":"https://api.github.com/repos/cbdallavalle/palette-picker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbdallavalle/palette-picker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbdallavalle/palette-picker/teams","hooks_url":"https://api.github.com/repos/cbdallavalle/palette-picker/hooks","issue_events_url":"https://api.github.com/repos/cbdallavalle/palette-picker/issues/events{/number}","events_url":"https://api.github.com/repos/cbdallavalle/palette-picker/events","assignees_url":"https://api.github.com/repos/cbdallavalle/palette-picker/assignees{/user}","branches_url":"https://api.github.com/repos/cbdallavalle/palette-picker/branches{/branch}","tags_url":"https://api.github.com/repos/cbdallavalle/palette-picker/tags","blobs_url":"https://api.github.com/repos/cbdallavalle/palette-picker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbdallavalle/palette-picker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbdallavalle/palette-picker/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbdallavalle/palette-picker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbdallavalle/palette-picker/statuses/{sha}","languages_url":"https://api.github.com/repos/cbdallavalle/palette-picker/languages","stargazers_url":"https://api.github.com/repos/cbdallavalle/palette-picker/stargazers","contributors_url":"https://api.github.com/repos/cbdallavalle/palette-picker/contributors","subscribers_url":"https://api.github.com/repos/cbdallavalle/palette-picker/subscribers","subscription_url":"https://api.github.com/repos/cbdallavalle/palette-picker/subscription","commits_url":"https://api.github.com/repos/cbdallavalle/palette-picker/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbdallavalle/palette-picker/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbdallavalle/palette-picker/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbdallavalle/palette-picker/issues/comments{/number}","contents_url":"https://api.github.com/repos/cbdallavalle/palette-picker/contents/{+path}","compare_url":"https://api.github.com/repos/cbdallavalle/palette-picker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbdallavalle/palette-picker/merges","archive_url":"https://api.github.com/repos/cbdallavalle/palette-picker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbdallavalle/palette-picker/downloads","issues_url":"https://api.github.com/repos/cbdallavalle/palette-picker/issues{/number}","pulls_url":"https://api.github.com/repos/cbdallavalle/palette-picker/pulls{/number}","milestones_url":"https://api.github.com/repos/cbdallavalle/palette-picker/milestones{/number}","notifications_url":"https://api.github.com/repos/cbdallavalle/palette-picker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbdallavalle/palette-picker/labels{/name}","releases_url":"https://api.github.com/repos/cbdallavalle/palette-picker/releases{/id}","deployments_url":"https://api.github.com/repos/cbdallavalle/palette-picker/deployments","created_at":"2018-03-12T19:51:01Z","updated_at":"2018-03-12T19:51:01Z","pushed_at":"2018-03-13T01:27:13Z","git_url":"git://github.com/cbdallavalle/palette-picker.git","ssh_url":"git@github.com:cbdallavalle/palette-picker.git","clone_url":"https://github.com/cbdallavalle/palette-picker.git","svn_url":"https://github.com/cbdallavalle/palette-picker","homepage":null,"size":5,"stargazers_count":0,"watchers_count":0,"language":null,"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":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cbdallavalle/palette-picker/pulls/1"},"html":{"href":"https://github.com/cbdallavalle/palette-picker/pull/1"},"issue":{"href":"https://api.github.com/repos/cbdallavalle/palette-picker/issues/1"},"comments":{"href":"https://api.github.com/repos/cbdallavalle/palette-picker/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/cbdallavalle/palette-picker/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/cbdallavalle/palette-picker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cbdallavalle/palette-picker/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/cbdallavalle/palette-picker/statuses/8193c00e1ff90c8fe4b3e77e6d473622be989583"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"cbdallavalle","id":28467245,"avatar_url":"https://avatars0.githubusercontent.com/u/28467245?v=4","gravatar_id":"","url":"https://api.github.com/users/cbdallavalle","html_url":"https://github.com/cbdallavalle","followers_url":"https://api.github.com/users/cbdallavalle/followers","following_url":"https://api.github.com/users/cbdallavalle/following{/other_user}","gists_url":"https://api.github.com/users/cbdallavalle/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdallavalle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdallavalle/subscriptions","organizations_url":"https://api.github.com/users/cbdallavalle/orgs","repos_url":"https://api.github.com/users/cbdallavalle/repos","events_url":"https://api.github.com/users/cbdallavalle/events{/privacy}","received_events_url":"https://api.github.com/users/cbdallavalle/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":582,"deletions":1,"changed_files":14}}
{"actor":{"display_login":"cbdallavalle"}}