{"action":"created","comment":{"url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/pulls/comments/55290616","id":55290616,"diff_hunk":"@@ -0,0 +1,73 @@\n+// set variables tree character and tree height that use getElementById\n+// set varable that holds height and character variables\n+// create function that holds to variables from line 1\n+// create if/else statement that makes sure values are entered\n+// create function for second variable (with variable in argument) whose output goes into div in html tag\n+// create forloop that does tree height and character\n+// create function for clearing\n+// create eventlistener for clear button and calculate button\n+\n+// create function that gets the values that the user places inside spaces and returns it\n+function getValue(){\n+\tvar treeHeight = document.getElementById(\"heightInput\").value\n+\tvar treeChar = document.getElementById(\"charInput\").value\n+\n+\tvar input = {\n+\theight: treeHeight,\n+\tcharacter: treeChar\n+\t};\n+\tconsole.log(treeHeight);\n+\treturn input\n+}\n+\n+// create function that checks values (using a function) that are inputted by user and shoots out alert if they do not put any values and  \n+function checkInput(){\n+\tvar object = getValue()\t","path":"quiz.js","position":25,"original_position":25,"commit_id":"a939f656b729d82bbebfbd15689afa004573a095","original_commit_id":"a939f656b729d82bbebfbd15689afa004573a095","user":{"login":"zoeames","id":8093647,"avatar_url":"https://avatars.githubusercontent.com/u/8093647?v=3","gravatar_id":"","url":"https://api.github.com/users/zoeames","html_url":"https://github.com/zoeames","followers_url":"https://api.github.com/users/zoeames/followers","following_url":"https://api.github.com/users/zoeames/following{/other_user}","gists_url":"https://api.github.com/users/zoeames/gists{/gist_id}","starred_url":"https://api.github.com/users/zoeames/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zoeames/subscriptions","organizations_url":"https://api.github.com/users/zoeames/orgs","repos_url":"https://api.github.com/users/zoeames/repos","events_url":"https://api.github.com/users/zoeames/events{/privacy}","received_events_url":"https://api.github.com/users/zoeames/received_events","type":"User","site_admin":false},"body":"needs semicolon","created_at":"2016-03-07T23:13:58Z","updated_at":"2016-03-07T23:13:58Z","html_url":"https://github.com/Odigene12/Odigene-s-Javascript-Quiz/pull/4#discussion_r55290616","pull_request_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/pulls/comments/55290616"},"html":{"href":"https://github.com/Odigene12/Odigene-s-Javascript-Quiz/pull/4#discussion_r55290616"},"pull_request":{"href":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/pulls/4","id":61997504,"html_url":"https://github.com/Odigene12/Odigene-s-Javascript-Quiz/pull/4","diff_url":"https://github.com/Odigene12/Odigene-s-Javascript-Quiz/pull/4.diff","patch_url":"https://github.com/Odigene12/Odigene-s-Javascript-Quiz/pull/4.patch","issue_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/issues/4","number":4,"state":"open","locked":false,"title":"Quiz","user":{"login":"Odigene12","id":16551239,"avatar_url":"https://avatars.githubusercontent.com/u/16551239?v=3","gravatar_id":"","url":"https://api.github.com/users/Odigene12","html_url":"https://github.com/Odigene12","followers_url":"https://api.github.com/users/Odigene12/followers","following_url":"https://api.github.com/users/Odigene12/following{/other_user}","gists_url":"https://api.github.com/users/Odigene12/gists{/gist_id}","starred_url":"https://api.github.com/users/Odigene12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Odigene12/subscriptions","organizations_url":"https://api.github.com/users/Odigene12/orgs","repos_url":"https://api.github.com/users/Odigene12/repos","events_url":"https://api.github.com/users/Odigene12/events{/privacy}","received_events_url":"https://api.github.com/users/Odigene12/received_events","type":"User","site_admin":false},"body":"new branch!!","created_at":"2016-03-07T23:09:36Z","updated_at":"2016-03-07T23:13:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"515304e2cf17b405d7438bbb11af0fc61aba2b92","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/pulls/4/commits","review_comments_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/pulls/4/comments","review_comment_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/issues/4/comments","statuses_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/statuses/a939f656b729d82bbebfbd15689afa004573a095","head":{"label":"Odigene12:quiz","ref":"quiz","sha":"a939f656b729d82bbebfbd15689afa004573a095","user":{"login":"Odigene12","id":16551239,"avatar_url":"https://avatars.githubusercontent.com/u/16551239?v=3","gravatar_id":"","url":"https://api.github.com/users/Odigene12","html_url":"https://github.com/Odigene12","followers_url":"https://api.github.com/users/Odigene12/followers","following_url":"https://api.github.com/users/Odigene12/following{/other_user}","gists_url":"https://api.github.com/users/Odigene12/gists{/gist_id}","starred_url":"https://api.github.com/users/Odigene12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Odigene12/subscriptions","organizations_url":"https://api.github.com/users/Odigene12/orgs","repos_url":"https://api.github.com/users/Odigene12/repos","events_url":"https://api.github.com/users/Odigene12/events{/privacy}","received_events_url":"https://api.github.com/users/Odigene12/received_events","type":"User","site_admin":false},"repo":{"id":51974570,"name":"Odigene-s-Javascript-Quiz","full_name":"Odigene12/Odigene-s-Javascript-Quiz","owner":{"login":"Odigene12","id":16551239,"avatar_url":"https://avatars.githubusercontent.com/u/16551239?v=3","gravatar_id":"","url":"https://api.github.com/users/Odigene12","html_url":"https://github.com/Odigene12","followers_url":"https://api.github.com/users/Odigene12/followers","following_url":"https://api.github.com/users/Odigene12/following{/other_user}","gists_url":"https://api.github.com/users/Odigene12/gists{/gist_id}","starred_url":"https://api.github.com/users/Odigene12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Odigene12/subscriptions","organizations_url":"https://api.github.com/users/Odigene12/orgs","repos_url":"https://api.github.com/users/Odigene12/repos","events_url":"https://api.github.com/users/Odigene12/events{/privacy}","received_events_url":"https://api.github.com/users/Odigene12/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Odigene12/Odigene-s-Javascript-Quiz","description":"","fork":false,"url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz","forks_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/forks","keys_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/teams","hooks_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/hooks","issue_events_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/issues/events{/number}","events_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/events","assignees_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/assignees{/user}","branches_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/branches{/branch}","tags_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/tags","blobs_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/git/refs{/sha}","trees_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/statuses/{sha}","languages_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/languages","stargazers_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/stargazers","contributors_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/contributors","subscribers_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/subscribers","subscription_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/subscription","commits_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/commits{/sha}","git_commits_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/git/commits{/sha}","comments_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/comments{/number}","issue_comment_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/issues/comments{/number}","contents_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/contents/{+path}","compare_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/merges","archive_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/downloads","issues_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/issues{/number}","pulls_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/pulls{/number}","milestones_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/milestones{/number}","notifications_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/labels{/name}","releases_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/releases{/id}","deployments_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/deployments","created_at":"2016-02-18T03:05:27Z","updated_at":"2016-02-18T03:05:27Z","pushed_at":"2016-03-07T23:09:37Z","git_url":"git://github.com/Odigene12/Odigene-s-Javascript-Quiz.git","ssh_url":"git@github.com:Odigene12/Odigene-s-Javascript-Quiz.git","clone_url":"https://github.com/Odigene12/Odigene-s-Javascript-Quiz.git","svn_url":"https://github.com/Odigene12/Odigene-s-Javascript-Quiz","homepage":null,"size":3,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Odigene12:master","ref":"master","sha":"6b329955b51a29d5f7446dd32a9aa573a5aca7ca","user":{"login":"Odigene12","id":16551239,"avatar_url":"https://avatars.githubusercontent.com/u/16551239?v=3","gravatar_id":"","url":"https://api.github.com/users/Odigene12","html_url":"https://github.com/Odigene12","followers_url":"https://api.github.com/users/Odigene12/followers","following_url":"https://api.github.com/users/Odigene12/following{/other_user}","gists_url":"https://api.github.com/users/Odigene12/gists{/gist_id}","starred_url":"https://api.github.com/users/Odigene12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Odigene12/subscriptions","organizations_url":"https://api.github.com/users/Odigene12/orgs","repos_url":"https://api.github.com/users/Odigene12/repos","events_url":"https://api.github.com/users/Odigene12/events{/privacy}","received_events_url":"https://api.github.com/users/Odigene12/received_events","type":"User","site_admin":false},"repo":{"id":51974570,"name":"Odigene-s-Javascript-Quiz","full_name":"Odigene12/Odigene-s-Javascript-Quiz","owner":{"login":"Odigene12","id":16551239,"avatar_url":"https://avatars.githubusercontent.com/u/16551239?v=3","gravatar_id":"","url":"https://api.github.com/users/Odigene12","html_url":"https://github.com/Odigene12","followers_url":"https://api.github.com/users/Odigene12/followers","following_url":"https://api.github.com/users/Odigene12/following{/other_user}","gists_url":"https://api.github.com/users/Odigene12/gists{/gist_id}","starred_url":"https://api.github.com/users/Odigene12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Odigene12/subscriptions","organizations_url":"https://api.github.com/users/Odigene12/orgs","repos_url":"https://api.github.com/users/Odigene12/repos","events_url":"https://api.github.com/users/Odigene12/events{/privacy}","received_events_url":"https://api.github.com/users/Odigene12/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Odigene12/Odigene-s-Javascript-Quiz","description":"","fork":false,"url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz","forks_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/forks","keys_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/teams","hooks_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/hooks","issue_events_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/issues/events{/number}","events_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/events","assignees_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/assignees{/user}","branches_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/branches{/branch}","tags_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/tags","blobs_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/git/refs{/sha}","trees_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/statuses/{sha}","languages_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/languages","stargazers_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/stargazers","contributors_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/contributors","subscribers_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/subscribers","subscription_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/subscription","commits_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/commits{/sha}","git_commits_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/git/commits{/sha}","comments_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/comments{/number}","issue_comment_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/issues/comments{/number}","contents_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/contents/{+path}","compare_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/merges","archive_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/downloads","issues_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/issues{/number}","pulls_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/pulls{/number}","milestones_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/milestones{/number}","notifications_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/labels{/name}","releases_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/releases{/id}","deployments_url":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/deployments","created_at":"2016-02-18T03:05:27Z","updated_at":"2016-02-18T03:05:27Z","pushed_at":"2016-03-07T23:09:37Z","git_url":"git://github.com/Odigene12/Odigene-s-Javascript-Quiz.git","ssh_url":"git@github.com:Odigene12/Odigene-s-Javascript-Quiz.git","clone_url":"https://github.com/Odigene12/Odigene-s-Javascript-Quiz.git","svn_url":"https://github.com/Odigene12/Odigene-s-Javascript-Quiz","homepage":null,"size":3,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/pulls/4"},"html":{"href":"https://github.com/Odigene12/Odigene-s-Javascript-Quiz/pull/4"},"issue":{"href":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/issues/4"},"comments":{"href":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/Odigene12/Odigene-s-Javascript-Quiz/statuses/a939f656b729d82bbebfbd15689afa004573a095"}}}}