{"action":"created","comment":{"url":"https://api.github.com/repos/LambdaSchool/DOM-I/pulls/comments/227482524","pull_request_review_id":167529879,"id":227482524,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNzQ4MjUyNA==","diff_hunk":"@@ -0,0 +1,98 @@\n+// Add title\n+\n+// const myTitle = document.querySelector('body');\n+// myTitle.innerHTML = \"<h1>My Pomodoro</h1>\";\n+\n+// Add second tens\n+\n+// const mySecondTens = document.querySelector('#secondTens');\n+const mySecondTens = document.createElement('p');\n+const secondTens = document.querySelector('#secondTens');\n+mySecondTens.innerText = \"0\";\n+secondTens.appendChild(mySecondTens);\n+\n+// Add second ones \n+\n+const mySecondOnes = document.createElement('p');\n+const secondOnes = document.querySelector('#secondOnes');\n+mySecondOnes.innerText = \"0\";\n+secondOnes.appendChild(mySecondOnes);\n+\n+// Add ms hundreds\n+\n+const myMsHundreds = document.createElement('p');\n+const msHundreds = document.querySelector('#msHundreds');\n+myMsHundreds.innerText = \"0\";\n+msHundreds.appendChild(myMsHundreds);\n+\n+// Add ms tens\n+\n+const myMsTens = document.createElement('p');\n+const msTens = document.querySelector('#msTens');\n+myMsTens.innerText = \"0\";\n+msTens.appendChild(myMsTens);\n+\n+// Add button \n+\n+// const startButton = document.createElement('button');\n+// const myDigits = document.getElementsByClassName('digits');\n+// myDigits.innerText = \"button test\";\n+// startButton.appendChild(myDigits);\n+\n+// Add timer functionality \n+\n+\n+// setInterval(function(){ alert(\"Hello\"); }, 3000);\n+\n+// const myButtonGo = document.createElement(\"input\");\n+// const myDigits = document.getElementsByClassName('digits');\n+// myButtonGo.innerText = \"Testing\";\n+// myDigits.appendChild(myButtonGo);\n+\n+\n+// function createButton(context, func) {\n+//     const button = document.createElement(\"input\");\n+//     button.type = \"button\";\n+//     button.value = \"Let's go!\";\n+//     button.onclick = func;\n+//     context.appendChild(button);\n+// }\n+\n+// window.onload = function() {\n+//     createButton(document.body, function() {\n+//         highlight(this.parentNode.childNodes[1]);\n+//         // Example of different context, copied function etc\n+//         // createButton(this.parentNode, this.onclick);\n+//     });\n+// };\n+\n+// button.addEventListener('click', () => {\n+//     body.style.backgroundColor = \"red\";\n+//   });\n+\n+\n+\n+\n+const btn = document.createElement(\"BUTTON\");        // Create a <button> element\n+const text = document.createTextNode(\"Let's go!\");       // Create a text node\n+btn.appendChild(text);                                // Append the text to <button>\n+document.body.appendChild(btn);  \n+\n+btn.addEventListener('click', () => {\n+        btn.style.color = \"red\";\n+        // function startTime() {\n+        //     var today = new Date();\n+        //     var h = today.getHours();\n+        //     var m = today.getMinutes();\n+        //     var s = today.getSeconds();\n+        //     m = checkTime(m);\n+        //     s = checkTime(s);\n+        //     document.getElementById('secondTens').innerHTML =\n+        //     h + \":\" + m + \":\" + s;\n+        //     var t = setTimeout(startTime, 500);\n+        // // }\n+        // function checkTime(i) {\n+        //     if (i < 10) {i = \"0\" + i};  // add zero in front of numbers < 10\n+        //     return i;\n+        // }\n+      });","path":"stretch-assignment/digital_timer/index.js","position":98,"original_position":98,"commit_id":"d104b4d216eee615e490111a97303e8832715fc0","original_commit_id":"d104b4d216eee615e490111a97303e8832715fc0","user":{"login":"szincone","id":21247406,"node_id":"MDQ6VXNlcjIxMjQ3NDA2","avatar_url":"https://avatars0.githubusercontent.com/u/21247406?v=4","gravatar_id":"","url":"https://api.github.com/users/szincone","html_url":"https://github.com/szincone","followers_url":"https://api.github.com/users/szincone/followers","following_url":"https://api.github.com/users/szincone/following{/other_user}","gists_url":"https://api.github.com/users/szincone/gists{/gist_id}","starred_url":"https://api.github.com/users/szincone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szincone/subscriptions","organizations_url":"https://api.github.com/users/szincone/orgs","repos_url":"https://api.github.com/users/szincone/repos","events_url":"https://api.github.com/users/szincone/events{/privacy}","received_events_url":"https://api.github.com/users/szincone/received_events","type":"User","site_admin":false},"body":"Looks like you're on the right track w/ the stretch. The button looks like it works.","created_at":"2018-10-23T17:05:23Z","updated_at":"2018-10-23T17:06:43Z","html_url":"https://github.com/LambdaSchool/DOM-I/pull/511#discussion_r227482524","pull_request_url":"https://api.github.com/repos/LambdaSchool/DOM-I/pulls/511","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/LambdaSchool/DOM-I/pulls/comments/227482524"},"html":{"href":"https://github.com/LambdaSchool/DOM-I/pull/511#discussion_r227482524"},"pull_request":{"href":"https://api.github.com/repos/LambdaSchool/DOM-I/pulls/511"}}},"pull_request":{"url":"https://api.github.com/repos/LambdaSchool/DOM-I/pulls/511","id":224790793,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0NzkwNzkz","html_url":"https://github.com/LambdaSchool/DOM-I/pull/511","diff_url":"https://github.com/LambdaSchool/DOM-I/pull/511.diff","patch_url":"https://github.com/LambdaSchool/DOM-I/pull/511.patch","issue_url":"https://api.github.com/repos/LambdaSchool/DOM-I/issues/511","number":511,"state":"open","locked":false,"title":"nick-oferrall","user":{"login":"nickoferrall","id":39854876,"node_id":"MDQ6VXNlcjM5ODU0ODc2","avatar_url":"https://avatars3.githubusercontent.com/u/39854876?v=4","gravatar_id":"","url":"https://api.github.com/users/nickoferrall","html_url":"https://github.com/nickoferrall","followers_url":"https://api.github.com/users/nickoferrall/followers","following_url":"https://api.github.com/users/nickoferrall/following{/other_user}","gists_url":"https://api.github.com/users/nickoferrall/gists{/gist_id}","starred_url":"https://api.github.com/users/nickoferrall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickoferrall/subscriptions","organizations_url":"https://api.github.com/users/nickoferrall/orgs","repos_url":"https://api.github.com/users/nickoferrall/repos","events_url":"https://api.github.com/users/nickoferrall/events{/privacy}","received_events_url":"https://api.github.com/users/nickoferrall/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-22T19:43:05Z","updated_at":"2018-10-23T17:06:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4c2d47b6b862d44b45f1b81b99f6ec77307e3b1a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/LambdaSchool/DOM-I/pulls/511/commits","review_comments_url":"https://api.github.com/repos/LambdaSchool/DOM-I/pulls/511/comments","review_comment_url":"https://api.github.com/repos/LambdaSchool/DOM-I/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LambdaSchool/DOM-I/issues/511/comments","statuses_url":"https://api.github.com/repos/LambdaSchool/DOM-I/statuses/d104b4d216eee615e490111a97303e8832715fc0","head":{"label":"nickoferrall:master","ref":"master","sha":"d104b4d216eee615e490111a97303e8832715fc0","user":{"login":"nickoferrall","id":39854876,"node_id":"MDQ6VXNlcjM5ODU0ODc2","avatar_url":"https://avatars3.githubusercontent.com/u/39854876?v=4","gravatar_id":"","url":"https://api.github.com/users/nickoferrall","html_url":"https://github.com/nickoferrall","followers_url":"https://api.github.com/users/nickoferrall/followers","following_url":"https://api.github.com/users/nickoferrall/following{/other_user}","gists_url":"https://api.github.com/users/nickoferrall/gists{/gist_id}","starred_url":"https://api.github.com/users/nickoferrall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickoferrall/subscriptions","organizations_url":"https://api.github.com/users/nickoferrall/orgs","repos_url":"https://api.github.com/users/nickoferrall/repos","events_url":"https://api.github.com/users/nickoferrall/events{/privacy}","received_events_url":"https://api.github.com/users/nickoferrall/received_events","type":"User","site_admin":false},"repo":{"id":154173875,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQxNzM4NzU=","name":"DOM-I","full_name":"nickoferrall/DOM-I","private":false,"owner":{"login":"nickoferrall","id":39854876,"node_id":"MDQ6VXNlcjM5ODU0ODc2","avatar_url":"https://avatars3.githubusercontent.com/u/39854876?v=4","gravatar_id":"","url":"https://api.github.com/users/nickoferrall","html_url":"https://github.com/nickoferrall","followers_url":"https://api.github.com/users/nickoferrall/followers","following_url":"https://api.github.com/users/nickoferrall/following{/other_user}","gists_url":"https://api.github.com/users/nickoferrall/gists{/gist_id}","starred_url":"https://api.github.com/users/nickoferrall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickoferrall/subscriptions","organizations_url":"https://api.github.com/users/nickoferrall/orgs","repos_url":"https://api.github.com/users/nickoferrall/repos","events_url":"https://api.github.com/users/nickoferrall/events{/privacy}","received_events_url":"https://api.github.com/users/nickoferrall/received_events","type":"User","site_admin":false},"html_url":"https://github.com/nickoferrall/DOM-I","description":null,"fork":true,"url":"https://api.github.com/repos/nickoferrall/DOM-I","forks_url":"https://api.github.com/repos/nickoferrall/DOM-I/forks","keys_url":"https://api.github.com/repos/nickoferrall/DOM-I/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nickoferrall/DOM-I/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nickoferrall/DOM-I/teams","hooks_url":"https://api.github.com/repos/nickoferrall/DOM-I/hooks","issue_events_url":"https://api.github.com/repos/nickoferrall/DOM-I/issues/events{/number}","events_url":"https://api.github.com/repos/nickoferrall/DOM-I/events","assignees_url":"https://api.github.com/repos/nickoferrall/DOM-I/assignees{/user}","branches_url":"https://api.github.com/repos/nickoferrall/DOM-I/branches{/branch}","tags_url":"https://api.github.com/repos/nickoferrall/DOM-I/tags","blobs_url":"https://api.github.com/repos/nickoferrall/DOM-I/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nickoferrall/DOM-I/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nickoferrall/DOM-I/git/refs{/sha}","trees_url":"https://api.github.com/repos/nickoferrall/DOM-I/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nickoferrall/DOM-I/statuses/{sha}","languages_url":"https://api.github.com/repos/nickoferrall/DOM-I/languages","stargazers_url":"https://api.github.com/repos/nickoferrall/DOM-I/stargazers","contributors_url":"https://api.github.com/repos/nickoferrall/DOM-I/contributors","subscribers_url":"https://api.github.com/repos/nickoferrall/DOM-I/subscribers","subscription_url":"https://api.github.com/repos/nickoferrall/DOM-I/subscription","commits_url":"https://api.github.com/repos/nickoferrall/DOM-I/commits{/sha}","git_commits_url":"https://api.github.com/repos/nickoferrall/DOM-I/git/commits{/sha}","comments_url":"https://api.github.com/repos/nickoferrall/DOM-I/comments{/number}","issue_comment_url":"https://api.github.com/repos/nickoferrall/DOM-I/issues/comments{/number}","contents_url":"https://api.github.com/repos/nickoferrall/DOM-I/contents/{+path}","compare_url":"https://api.github.com/repos/nickoferrall/DOM-I/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nickoferrall/DOM-I/merges","archive_url":"https://api.github.com/repos/nickoferrall/DOM-I/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nickoferrall/DOM-I/downloads","issues_url":"https://api.github.com/repos/nickoferrall/DOM-I/issues{/number}","pulls_url":"https://api.github.com/repos/nickoferrall/DOM-I/pulls{/number}","milestones_url":"https://api.github.com/repos/nickoferrall/DOM-I/milestones{/number}","notifications_url":"https://api.github.com/repos/nickoferrall/DOM-I/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nickoferrall/DOM-I/labels{/name}","releases_url":"https://api.github.com/repos/nickoferrall/DOM-I/releases{/id}","deployments_url":"https://api.github.com/repos/nickoferrall/DOM-I/deployments","created_at":"2018-10-22T16:04:53Z","updated_at":"2018-10-22T23:04:33Z","pushed_at":"2018-10-22T23:04:31Z","git_url":"git://github.com/nickoferrall/DOM-I.git","ssh_url":"git@github.com:nickoferrall/DOM-I.git","clone_url":"https://github.com/nickoferrall/DOM-I.git","svn_url":"https://github.com/nickoferrall/DOM-I","homepage":null,"size":735,"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":"LambdaSchool:master","ref":"master","sha":"eedfab360a6a67aaf5981b8bd8deca1ecd1cd01d","user":{"login":"LambdaSchool","id":24780114,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NzgwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/24780114?v=4","gravatar_id":"","url":"https://api.github.com/users/LambdaSchool","html_url":"https://github.com/LambdaSchool","followers_url":"https://api.github.com/users/LambdaSchool/followers","following_url":"https://api.github.com/users/LambdaSchool/following{/other_user}","gists_url":"https://api.github.com/users/LambdaSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/LambdaSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LambdaSchool/subscriptions","organizations_url":"https://api.github.com/users/LambdaSchool/orgs","repos_url":"https://api.github.com/users/LambdaSchool/repos","events_url":"https://api.github.com/users/LambdaSchool/events{/privacy}","received_events_url":"https://api.github.com/users/LambdaSchool/received_events","type":"Organization","site_admin":false},"repo":{"id":122894487,"node_id":"MDEwOlJlcG9zaXRvcnkxMjI4OTQ0ODc=","name":"DOM-I","full_name":"LambdaSchool/DOM-I","private":false,"owner":{"login":"LambdaSchool","id":24780114,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NzgwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/24780114?v=4","gravatar_id":"","url":"https://api.github.com/users/LambdaSchool","html_url":"https://github.com/LambdaSchool","followers_url":"https://api.github.com/users/LambdaSchool/followers","following_url":"https://api.github.com/users/LambdaSchool/following{/other_user}","gists_url":"https://api.github.com/users/LambdaSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/LambdaSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LambdaSchool/subscriptions","organizations_url":"https://api.github.com/users/LambdaSchool/orgs","repos_url":"https://api.github.com/users/LambdaSchool/repos","events_url":"https://api.github.com/users/LambdaSchool/events{/privacy}","received_events_url":"https://api.github.com/users/LambdaSchool/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/LambdaSchool/DOM-I","description":null,"fork":false,"url":"https://api.github.com/repos/LambdaSchool/DOM-I","forks_url":"https://api.github.com/repos/LambdaSchool/DOM-I/forks","keys_url":"https://api.github.com/repos/LambdaSchool/DOM-I/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LambdaSchool/DOM-I/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LambdaSchool/DOM-I/teams","hooks_url":"https://api.github.com/repos/LambdaSchool/DOM-I/hooks","issue_events_url":"https://api.github.com/repos/LambdaSchool/DOM-I/issues/events{/number}","events_url":"https://api.github.com/repos/LambdaSchool/DOM-I/events","assignees_url":"https://api.github.com/repos/LambdaSchool/DOM-I/assignees{/user}","branches_url":"https://api.github.com/repos/LambdaSchool/DOM-I/branches{/branch}","tags_url":"https://api.github.com/repos/LambdaSchool/DOM-I/tags","blobs_url":"https://api.github.com/repos/LambdaSchool/DOM-I/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LambdaSchool/DOM-I/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LambdaSchool/DOM-I/git/refs{/sha}","trees_url":"https://api.github.com/repos/LambdaSchool/DOM-I/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LambdaSchool/DOM-I/statuses/{sha}","languages_url":"https://api.github.com/repos/LambdaSchool/DOM-I/languages","stargazers_url":"https://api.github.com/repos/LambdaSchool/DOM-I/stargazers","contributors_url":"https://api.github.com/repos/LambdaSchool/DOM-I/contributors","subscribers_url":"https://api.github.com/repos/LambdaSchool/DOM-I/subscribers","subscription_url":"https://api.github.com/repos/LambdaSchool/DOM-I/subscription","commits_url":"https://api.github.com/repos/LambdaSchool/DOM-I/commits{/sha}","git_commits_url":"https://api.github.com/repos/LambdaSchool/DOM-I/git/commits{/sha}","comments_url":"https://api.github.com/repos/LambdaSchool/DOM-I/comments{/number}","issue_comment_url":"https://api.github.com/repos/LambdaSchool/DOM-I/issues/comments{/number}","contents_url":"https://api.github.com/repos/LambdaSchool/DOM-I/contents/{+path}","compare_url":"https://api.github.com/repos/LambdaSchool/DOM-I/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LambdaSchool/DOM-I/merges","archive_url":"https://api.github.com/repos/LambdaSchool/DOM-I/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LambdaSchool/DOM-I/downloads","issues_url":"https://api.github.com/repos/LambdaSchool/DOM-I/issues{/number}","pulls_url":"https://api.github.com/repos/LambdaSchool/DOM-I/pulls{/number}","milestones_url":"https://api.github.com/repos/LambdaSchool/DOM-I/milestones{/number}","notifications_url":"https://api.github.com/repos/LambdaSchool/DOM-I/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LambdaSchool/DOM-I/labels{/name}","releases_url":"https://api.github.com/repos/LambdaSchool/DOM-I/releases{/id}","deployments_url":"https://api.github.com/repos/LambdaSchool/DOM-I/deployments","created_at":"2018-02-26T01:11:25Z","updated_at":"2018-09-18T13:11:14Z","pushed_at":"2018-10-23T16:28:59Z","git_url":"git://github.com/LambdaSchool/DOM-I.git","ssh_url":"git@github.com:LambdaSchool/DOM-I.git","clone_url":"https://github.com/LambdaSchool/DOM-I.git","svn_url":"https://github.com/LambdaSchool/DOM-I","homepage":null,"size":731,"stargazers_count":3,"watchers_count":3,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":603,"mirror_url":null,"archived":false,"open_issues_count":394,"license":null,"forks":603,"open_issues":394,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LambdaSchool/DOM-I/pulls/511"},"html":{"href":"https://github.com/LambdaSchool/DOM-I/pull/511"},"issue":{"href":"https://api.github.com/repos/LambdaSchool/DOM-I/issues/511"},"comments":{"href":"https://api.github.com/repos/LambdaSchool/DOM-I/issues/511/comments"},"review_comments":{"href":"https://api.github.com/repos/LambdaSchool/DOM-I/pulls/511/comments"},"review_comment":{"href":"https://api.github.com/repos/LambdaSchool/DOM-I/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LambdaSchool/DOM-I/pulls/511/commits"},"statuses":{"href":"https://api.github.com/repos/LambdaSchool/DOM-I/statuses/d104b4d216eee615e490111a97303e8832715fc0"}},"author_association":"NONE"}}
{"actor":{"display_login":"szincone"}}