{"action":"created","comment":{"url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/pulls/comments/224978431","pull_request_review_id":164483584,"id":224978431,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDk3ODQzMQ==","diff_hunk":"@@ -0,0 +1,77 @@\n+# 什麼是 DOM？\r\n+  - Document Object Model 文件物件模型。\r\n+  - DOM 是哪來的？<br>\r\n+    當網頁被載入到瀏覽器時，瀏覽器會先分析 .HTML 檔，然後依照.HTML 的內容解析出 DOM。\r\n+  - 解析出 DOM 是什麼？<br>\r\n+    HTML DOM 用類似樹狀圖的方式結構化 HTML，形成 DOM Tree。\r\n+  - 所以要 DOM 幹嘛？<br>\r\n+    DOM 定義了操作與存取 HTML 的方式，DOM 中每個 tag 都是一個節點（node），JS 可以透過節點操作特定元素，讓網頁有更多互動性。(可以說是 html 和 js 之間的溝通管道(?))\r","path":"homeworks/week4/hw5.md","position":8,"original_position":8,"commit_id":"1d8cefc9e35a41d593540b1287eec626aca053c9","original_commit_id":"1d8cefc9e35a41d593540b1287eec626aca053c9","user":{"login":"aszx87410","id":2755720,"node_id":"MDQ6VXNlcjI3NTU3MjA=","avatar_url":"https://avatars1.githubusercontent.com/u/2755720?v=4","gravatar_id":"","url":"https://api.github.com/users/aszx87410","html_url":"https://github.com/aszx87410","followers_url":"https://api.github.com/users/aszx87410/followers","following_url":"https://api.github.com/users/aszx87410/following{/other_user}","gists_url":"https://api.github.com/users/aszx87410/gists{/gist_id}","starred_url":"https://api.github.com/users/aszx87410/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aszx87410/subscriptions","organizations_url":"https://api.github.com/users/aszx87410/orgs","repos_url":"https://api.github.com/users/aszx87410/repos","events_url":"https://api.github.com/users/aszx87410/events{/privacy}","received_events_url":"https://api.github.com/users/aszx87410/received_events","type":"User","site_admin":false},"body":"是的，js 透過瀏覽器提供的 API 改變 DOM，最後反映到畫面上","created_at":"2018-10-14T03:30:57Z","updated_at":"2018-10-14T03:30:58Z","html_url":"https://github.com/Lidemy/mentor-program-2nd-sharonwuu/pull/9#discussion_r224978431","pull_request_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/pulls/9","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/pulls/comments/224978431"},"html":{"href":"https://github.com/Lidemy/mentor-program-2nd-sharonwuu/pull/9#discussion_r224978431"},"pull_request":{"href":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/pulls/9","id":222641856,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNjQxODU2","html_url":"https://github.com/Lidemy/mentor-program-2nd-sharonwuu/pull/9","diff_url":"https://github.com/Lidemy/mentor-program-2nd-sharonwuu/pull/9.diff","patch_url":"https://github.com/Lidemy/mentor-program-2nd-sharonwuu/pull/9.patch","issue_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/issues/9","number":9,"state":"open","locked":false,"title":"week4 訂正","user":{"login":"sharonwuu","id":42530361,"node_id":"MDQ6VXNlcjQyNTMwMzYx","avatar_url":"https://avatars3.githubusercontent.com/u/42530361?v=4","gravatar_id":"","url":"https://api.github.com/users/sharonwuu","html_url":"https://github.com/sharonwuu","followers_url":"https://api.github.com/users/sharonwuu/followers","following_url":"https://api.github.com/users/sharonwuu/following{/other_user}","gists_url":"https://api.github.com/users/sharonwuu/gists{/gist_id}","starred_url":"https://api.github.com/users/sharonwuu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharonwuu/subscriptions","organizations_url":"https://api.github.com/users/sharonwuu/orgs","repos_url":"https://api.github.com/users/sharonwuu/repos","events_url":"https://api.github.com/users/sharonwuu/events{/privacy}","received_events_url":"https://api.github.com/users/sharonwuu/received_events","type":"User","site_admin":false},"body":"訂正：\r\n1. hw3 的排版，兩欄改成三欄\r\n2. 補上 hw5 的簡答題（但是有些還沒很懂XD）","created_at":"2018-10-13T10:29:29Z","updated_at":"2018-10-14T03:30:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4ef18f04994ed035edb3d4e177901b08424f49a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/pulls/9/commits","review_comments_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/pulls/9/comments","review_comment_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/issues/9/comments","statuses_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/statuses/1d8cefc9e35a41d593540b1287eec626aca053c9","head":{"label":"Lidemy:week4Fix","ref":"week4Fix","sha":"1d8cefc9e35a41d593540b1287eec626aca053c9","user":{"login":"Lidemy","id":29705873,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NzA1ODcz","avatar_url":"https://avatars0.githubusercontent.com/u/29705873?v=4","gravatar_id":"","url":"https://api.github.com/users/Lidemy","html_url":"https://github.com/Lidemy","followers_url":"https://api.github.com/users/Lidemy/followers","following_url":"https://api.github.com/users/Lidemy/following{/other_user}","gists_url":"https://api.github.com/users/Lidemy/gists{/gist_id}","starred_url":"https://api.github.com/users/Lidemy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lidemy/subscriptions","organizations_url":"https://api.github.com/users/Lidemy/orgs","repos_url":"https://api.github.com/users/Lidemy/repos","events_url":"https://api.github.com/users/Lidemy/events{/privacy}","received_events_url":"https://api.github.com/users/Lidemy/received_events","type":"Organization","site_admin":false},"repo":{"id":147327538,"node_id":"MDEwOlJlcG9zaXRvcnkxNDczMjc1Mzg=","name":"mentor-program-2nd-sharonwuu","full_name":"Lidemy/mentor-program-2nd-sharonwuu","private":false,"owner":{"login":"Lidemy","id":29705873,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NzA1ODcz","avatar_url":"https://avatars0.githubusercontent.com/u/29705873?v=4","gravatar_id":"","url":"https://api.github.com/users/Lidemy","html_url":"https://github.com/Lidemy","followers_url":"https://api.github.com/users/Lidemy/followers","following_url":"https://api.github.com/users/Lidemy/following{/other_user}","gists_url":"https://api.github.com/users/Lidemy/gists{/gist_id}","starred_url":"https://api.github.com/users/Lidemy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lidemy/subscriptions","organizations_url":"https://api.github.com/users/Lidemy/orgs","repos_url":"https://api.github.com/users/Lidemy/repos","events_url":"https://api.github.com/users/Lidemy/events{/privacy}","received_events_url":"https://api.github.com/users/Lidemy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Lidemy/mentor-program-2nd-sharonwuu","description":"mentor-program-2nd-sharonwuu created by GitHub Classroom","fork":false,"url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu","forks_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/forks","keys_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/teams","hooks_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/hooks","issue_events_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/issues/events{/number}","events_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/events","assignees_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/assignees{/user}","branches_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/branches{/branch}","tags_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/tags","blobs_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/statuses/{sha}","languages_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/languages","stargazers_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/stargazers","contributors_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/contributors","subscribers_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/subscribers","subscription_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/subscription","commits_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/contents/{+path}","compare_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/merges","archive_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/downloads","issues_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/issues{/number}","pulls_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/pulls{/number}","milestones_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/milestones{/number}","notifications_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/labels{/name}","releases_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/releases{/id}","deployments_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/deployments","created_at":"2018-09-04T10:15:50Z","updated_at":"2018-10-07T00:43:38Z","pushed_at":"2018-10-13T10:29:29Z","git_url":"git://github.com/Lidemy/mentor-program-2nd-sharonwuu.git","ssh_url":"git@github.com:Lidemy/mentor-program-2nd-sharonwuu.git","clone_url":"https://github.com/Lidemy/mentor-program-2nd-sharonwuu.git","svn_url":"https://github.com/Lidemy/mentor-program-2nd-sharonwuu","homepage":null,"size":5478,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"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":"Lidemy:master","ref":"master","sha":"e3018accc1348302090df5c1dc2ddeda971d90e7","user":{"login":"Lidemy","id":29705873,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NzA1ODcz","avatar_url":"https://avatars0.githubusercontent.com/u/29705873?v=4","gravatar_id":"","url":"https://api.github.com/users/Lidemy","html_url":"https://github.com/Lidemy","followers_url":"https://api.github.com/users/Lidemy/followers","following_url":"https://api.github.com/users/Lidemy/following{/other_user}","gists_url":"https://api.github.com/users/Lidemy/gists{/gist_id}","starred_url":"https://api.github.com/users/Lidemy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lidemy/subscriptions","organizations_url":"https://api.github.com/users/Lidemy/orgs","repos_url":"https://api.github.com/users/Lidemy/repos","events_url":"https://api.github.com/users/Lidemy/events{/privacy}","received_events_url":"https://api.github.com/users/Lidemy/received_events","type":"Organization","site_admin":false},"repo":{"id":147327538,"node_id":"MDEwOlJlcG9zaXRvcnkxNDczMjc1Mzg=","name":"mentor-program-2nd-sharonwuu","full_name":"Lidemy/mentor-program-2nd-sharonwuu","private":false,"owner":{"login":"Lidemy","id":29705873,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5NzA1ODcz","avatar_url":"https://avatars0.githubusercontent.com/u/29705873?v=4","gravatar_id":"","url":"https://api.github.com/users/Lidemy","html_url":"https://github.com/Lidemy","followers_url":"https://api.github.com/users/Lidemy/followers","following_url":"https://api.github.com/users/Lidemy/following{/other_user}","gists_url":"https://api.github.com/users/Lidemy/gists{/gist_id}","starred_url":"https://api.github.com/users/Lidemy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lidemy/subscriptions","organizations_url":"https://api.github.com/users/Lidemy/orgs","repos_url":"https://api.github.com/users/Lidemy/repos","events_url":"https://api.github.com/users/Lidemy/events{/privacy}","received_events_url":"https://api.github.com/users/Lidemy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Lidemy/mentor-program-2nd-sharonwuu","description":"mentor-program-2nd-sharonwuu created by GitHub Classroom","fork":false,"url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu","forks_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/forks","keys_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/teams","hooks_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/hooks","issue_events_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/issues/events{/number}","events_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/events","assignees_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/assignees{/user}","branches_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/branches{/branch}","tags_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/tags","blobs_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/statuses/{sha}","languages_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/languages","stargazers_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/stargazers","contributors_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/contributors","subscribers_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/subscribers","subscription_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/subscription","commits_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/contents/{+path}","compare_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/merges","archive_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/downloads","issues_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/issues{/number}","pulls_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/pulls{/number}","milestones_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/milestones{/number}","notifications_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/labels{/name}","releases_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/releases{/id}","deployments_url":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/deployments","created_at":"2018-09-04T10:15:50Z","updated_at":"2018-10-07T00:43:38Z","pushed_at":"2018-10-13T10:29:29Z","git_url":"git://github.com/Lidemy/mentor-program-2nd-sharonwuu.git","ssh_url":"git@github.com:Lidemy/mentor-program-2nd-sharonwuu.git","clone_url":"https://github.com/Lidemy/mentor-program-2nd-sharonwuu.git","svn_url":"https://github.com/Lidemy/mentor-program-2nd-sharonwuu","homepage":null,"size":5478,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"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/Lidemy/mentor-program-2nd-sharonwuu/pulls/9"},"html":{"href":"https://github.com/Lidemy/mentor-program-2nd-sharonwuu/pull/9"},"issue":{"href":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/issues/9"},"comments":{"href":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/Lidemy/mentor-program-2nd-sharonwuu/statuses/1d8cefc9e35a41d593540b1287eec626aca053c9"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"aszx87410"}}