{"action":"created","comment":{"url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/pulls/comments/170445430","pull_request_review_id":99135466,"id":170445430,"diff_hunk":"@@ -0,0 +1,68 @@\n+/*\n+1. Create a function that accepts a temperature value in Fahrenheit and converts it to Celsius.\n+   Note: Equation to convert F to C:\n+   C = (F - 32) / 1.8\n+   Test your function.\n+*/\n+\n+\n+ //return first element in document with id \"temperature\", in this case, the user input\n+\n+let celcius;\n+let temp = document.querySelector(\"#temperature\").value;\n+\n+   function fToC(){\n+      return celcius = (temp - 32) / 1.8;","path":"bela-belasobral93/Homework-1/temp-converter/js/main.js","position":15,"original_position":15,"commit_id":"de6c7910347a4aac065dad060c28b70637843798","original_commit_id":"de6c7910347a4aac065dad060c28b70637843798","user":{"login":"AurielleP","id":7937261,"avatar_url":"https://avatars2.githubusercontent.com/u/7937261?v=4","gravatar_id":"","url":"https://api.github.com/users/AurielleP","html_url":"https://github.com/AurielleP","followers_url":"https://api.github.com/users/AurielleP/followers","following_url":"https://api.github.com/users/AurielleP/following{/other_user}","gists_url":"https://api.github.com/users/AurielleP/gists{/gist_id}","starred_url":"https://api.github.com/users/AurielleP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AurielleP/subscriptions","organizations_url":"https://api.github.com/users/AurielleP/orgs","repos_url":"https://api.github.com/users/AurielleP/repos","events_url":"https://api.github.com/users/AurielleP/events{/privacy}","received_events_url":"https://api.github.com/users/AurielleP/received_events","type":"User","site_admin":false},"body":"You want to try to make sure that your return statement is the last thing that runs in your function. If you return before you console log it wont ever get to that step","created_at":"2018-02-25T08:24:56Z","updated_at":"2018-02-25T08:24:56Z","html_url":"https://github.com/svodnik/JS-SF-10-homework/pull/2#discussion_r170445430","pull_request_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/pulls/2","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/svodnik/JS-SF-10-homework/pulls/comments/170445430"},"html":{"href":"https://github.com/svodnik/JS-SF-10-homework/pull/2#discussion_r170445430"},"pull_request":{"href":"https://api.github.com/repos/svodnik/JS-SF-10-homework/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/pulls/2","id":170646148,"html_url":"https://github.com/svodnik/JS-SF-10-homework/pull/2","diff_url":"https://github.com/svodnik/JS-SF-10-homework/pull/2.diff","patch_url":"https://github.com/svodnik/JS-SF-10-homework/pull/2.patch","issue_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/issues/2","number":2,"state":"open","locked":false,"title":"submitting Homework 1","user":{"login":"belasobral93","id":35778239,"avatar_url":"https://avatars1.githubusercontent.com/u/35778239?v=4","gravatar_id":"","url":"https://api.github.com/users/belasobral93","html_url":"https://github.com/belasobral93","followers_url":"https://api.github.com/users/belasobral93/followers","following_url":"https://api.github.com/users/belasobral93/following{/other_user}","gists_url":"https://api.github.com/users/belasobral93/gists{/gist_id}","starred_url":"https://api.github.com/users/belasobral93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belasobral93/subscriptions","organizations_url":"https://api.github.com/users/belasobral93/orgs","repos_url":"https://api.github.com/users/belasobral93/repos","events_url":"https://api.github.com/users/belasobral93/events{/privacy}","received_events_url":"https://api.github.com/users/belasobral93/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-22T03:05:06Z","updated_at":"2018-02-25T08:24:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8788673b209ac37e24bc3592d83e5282eb1c536f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/pulls/2/commits","review_comments_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/pulls/2/comments","review_comment_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/issues/2/comments","statuses_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/statuses/de6c7910347a4aac065dad060c28b70637843798","head":{"label":"belasobral93:master","ref":"master","sha":"de6c7910347a4aac065dad060c28b70637843798","user":{"login":"belasobral93","id":35778239,"avatar_url":"https://avatars1.githubusercontent.com/u/35778239?v=4","gravatar_id":"","url":"https://api.github.com/users/belasobral93","html_url":"https://github.com/belasobral93","followers_url":"https://api.github.com/users/belasobral93/followers","following_url":"https://api.github.com/users/belasobral93/following{/other_user}","gists_url":"https://api.github.com/users/belasobral93/gists{/gist_id}","starred_url":"https://api.github.com/users/belasobral93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belasobral93/subscriptions","organizations_url":"https://api.github.com/users/belasobral93/orgs","repos_url":"https://api.github.com/users/belasobral93/repos","events_url":"https://api.github.com/users/belasobral93/events{/privacy}","received_events_url":"https://api.github.com/users/belasobral93/received_events","type":"User","site_admin":false},"repo":{"id":122423088,"name":"JS-SF-10-homework","full_name":"belasobral93/JS-SF-10-homework","owner":{"login":"belasobral93","id":35778239,"avatar_url":"https://avatars1.githubusercontent.com/u/35778239?v=4","gravatar_id":"","url":"https://api.github.com/users/belasobral93","html_url":"https://github.com/belasobral93","followers_url":"https://api.github.com/users/belasobral93/followers","following_url":"https://api.github.com/users/belasobral93/following{/other_user}","gists_url":"https://api.github.com/users/belasobral93/gists{/gist_id}","starred_url":"https://api.github.com/users/belasobral93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/belasobral93/subscriptions","organizations_url":"https://api.github.com/users/belasobral93/orgs","repos_url":"https://api.github.com/users/belasobral93/repos","events_url":"https://api.github.com/users/belasobral93/events{/privacy}","received_events_url":"https://api.github.com/users/belasobral93/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/belasobral93/JS-SF-10-homework","description":"Homework submissions for General Assembly San Francisco JSD10","fork":true,"url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework","forks_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/forks","keys_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/teams","hooks_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/hooks","issue_events_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/issues/events{/number}","events_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/events","assignees_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/assignees{/user}","branches_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/branches{/branch}","tags_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/tags","blobs_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/statuses/{sha}","languages_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/languages","stargazers_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/stargazers","contributors_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/contributors","subscribers_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/subscribers","subscription_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/subscription","commits_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/contents/{+path}","compare_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/merges","archive_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/downloads","issues_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/issues{/number}","pulls_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/pulls{/number}","milestones_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/milestones{/number}","notifications_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/labels{/name}","releases_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/releases{/id}","deployments_url":"https://api.github.com/repos/belasobral93/JS-SF-10-homework/deployments","created_at":"2018-02-22T02:54:32Z","updated_at":"2018-02-22T03:03:26Z","pushed_at":"2018-02-22T03:03:24Z","git_url":"git://github.com/belasobral93/JS-SF-10-homework.git","ssh_url":"git@github.com:belasobral93/JS-SF-10-homework.git","clone_url":"https://github.com/belasobral93/JS-SF-10-homework.git","svn_url":"https://github.com/belasobral93/JS-SF-10-homework","homepage":null,"size":12,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"svodnik:master","ref":"master","sha":"50e909cf777ecaffe75ac8995eede976cc62f767","user":{"login":"svodnik","id":6620830,"avatar_url":"https://avatars0.githubusercontent.com/u/6620830?v=4","gravatar_id":"","url":"https://api.github.com/users/svodnik","html_url":"https://github.com/svodnik","followers_url":"https://api.github.com/users/svodnik/followers","following_url":"https://api.github.com/users/svodnik/following{/other_user}","gists_url":"https://api.github.com/users/svodnik/gists{/gist_id}","starred_url":"https://api.github.com/users/svodnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svodnik/subscriptions","organizations_url":"https://api.github.com/users/svodnik/orgs","repos_url":"https://api.github.com/users/svodnik/repos","events_url":"https://api.github.com/users/svodnik/events{/privacy}","received_events_url":"https://api.github.com/users/svodnik/received_events","type":"User","site_admin":false},"repo":{"id":119120334,"name":"JS-SF-10-homework","full_name":"svodnik/JS-SF-10-homework","owner":{"login":"svodnik","id":6620830,"avatar_url":"https://avatars0.githubusercontent.com/u/6620830?v=4","gravatar_id":"","url":"https://api.github.com/users/svodnik","html_url":"https://github.com/svodnik","followers_url":"https://api.github.com/users/svodnik/followers","following_url":"https://api.github.com/users/svodnik/following{/other_user}","gists_url":"https://api.github.com/users/svodnik/gists{/gist_id}","starred_url":"https://api.github.com/users/svodnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svodnik/subscriptions","organizations_url":"https://api.github.com/users/svodnik/orgs","repos_url":"https://api.github.com/users/svodnik/repos","events_url":"https://api.github.com/users/svodnik/events{/privacy}","received_events_url":"https://api.github.com/users/svodnik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/svodnik/JS-SF-10-homework","description":"Homework submissions for General Assembly San Francisco JSD10","fork":false,"url":"https://api.github.com/repos/svodnik/JS-SF-10-homework","forks_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/forks","keys_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/teams","hooks_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/hooks","issue_events_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/issues/events{/number}","events_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/events","assignees_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/assignees{/user}","branches_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/branches{/branch}","tags_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/tags","blobs_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/statuses/{sha}","languages_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/languages","stargazers_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/stargazers","contributors_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/contributors","subscribers_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/subscribers","subscription_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/subscription","commits_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/contents/{+path}","compare_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/merges","archive_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/downloads","issues_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/issues{/number}","pulls_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/pulls{/number}","milestones_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/milestones{/number}","notifications_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/labels{/name}","releases_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/releases{/id}","deployments_url":"https://api.github.com/repos/svodnik/JS-SF-10-homework/deployments","created_at":"2018-01-27T01:08:47Z","updated_at":"2018-01-27T02:06:22Z","pushed_at":"2018-02-25T01:53:27Z","git_url":"git://github.com/svodnik/JS-SF-10-homework.git","ssh_url":"git@github.com:svodnik/JS-SF-10-homework.git","clone_url":"https://github.com/svodnik/JS-SF-10-homework.git","svn_url":"https://github.com/svodnik/JS-SF-10-homework","homepage":null,"size":1,"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":14,"mirror_url":null,"archived":false,"open_issues_count":13,"license":null,"forks":14,"open_issues":13,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/svodnik/JS-SF-10-homework/pulls/2"},"html":{"href":"https://github.com/svodnik/JS-SF-10-homework/pull/2"},"issue":{"href":"https://api.github.com/repos/svodnik/JS-SF-10-homework/issues/2"},"comments":{"href":"https://api.github.com/repos/svodnik/JS-SF-10-homework/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/svodnik/JS-SF-10-homework/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/svodnik/JS-SF-10-homework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/svodnik/JS-SF-10-homework/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/svodnik/JS-SF-10-homework/statuses/de6c7910347a4aac065dad060c28b70637843798"}},"author_association":"NONE"}}
{"actor":{"display_login":"AurielleP"}}