{"action":"created","comment":{"url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/pulls/comments/213446160","pull_request_review_id":150284919,"id":213446160,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxMzQ0NjE2MA==","diff_hunk":"@@ -111,11 +111,11 @@\n \n ### Объясните разницу между `<script>`, `<script async>` и `<script defer>`.\n \n-* `<script>` - HTML parsing is blocked, the script is fetched and executed immediately, HTML parsing resumes after the script is executed.\n-* `<script async>` - The script will be fetched in parallel to HTML parsing and executed as soon as it is available (potentially before HTML parsing completes). Use `async` when the script is independent of any other scripts on the page, for example, analytics.\n-* `<script defer>` - The script will be fetched in parallel to HTML parsing and executed when the page has finished parsing. If there are multiple of them, each deferred script is executed in the order they were encoun­tered in the document. If a script relies on a fully-parsed DOM, the `defer` attribute will be useful in ensuring that the HTML is fully parsed before executing. There's not much difference in putting a normal `<script>` at the end of `<body>`. A deferred script must not contain `document.write`.\n+* `<script>` - Парсинг HTML приостанавливается, скрипт загружается и выполняется немедленно, парсинг HTML продолжается после выполнения скрипта.\n+* `<script async>` - Скрипт будет загружаться параллельно с парсингом HTML и выполнен так скоро, как это возможно (потенциально до окончания парсинга HTML). Используйте `async`, когда выполнение скрипта не зависит от остальных скриптов на странице, например для аналитики.\n+* `<script defer>` - Скрипт будет загружаться параллельно с парсингом HTML и будет выполнен после парсинга страницы. Если на странице несколько таких скриптов, они будут выполняться по порядку расположения в документе. Если для скрипта требуется полное DOM дерево на момент выполнения, то `defer` атрибут отлично подойдёт. У этого подхода нет больших отличий от обычного `<script>` расположенного рядом с закрывающимся тегом `</body>`. Исключением для использования `deffer` является использование `document.write` внутри скрипта.","path":"Translations/Russian/questions/html-questions.md","position":18,"original_position":18,"commit_id":"5cabfd6a29560b7c82e60486dfd4419a31d6edc3","original_commit_id":"5cabfd6a29560b7c82e60486dfd4419a31d6edc3","user":{"login":"astorre88","id":6911309,"node_id":"MDQ6VXNlcjY5MTEzMDk=","avatar_url":"https://avatars3.githubusercontent.com/u/6911309?v=4","gravatar_id":"","url":"https://api.github.com/users/astorre88","html_url":"https://github.com/astorre88","followers_url":"https://api.github.com/users/astorre88/followers","following_url":"https://api.github.com/users/astorre88/following{/other_user}","gists_url":"https://api.github.com/users/astorre88/gists{/gist_id}","starred_url":"https://api.github.com/users/astorre88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astorre88/subscriptions","organizations_url":"https://api.github.com/users/astorre88/orgs","repos_url":"https://api.github.com/users/astorre88/repos","events_url":"https://api.github.com/users/astorre88/events{/privacy}","received_events_url":"https://api.github.com/users/astorre88/received_events","type":"User","site_admin":false},"body":"вижу неоднозначность: `A deferred script must not contain document.write.` Дословно это переводится как `deferred script не должен содержать document.write`.","created_at":"2018-08-28T19:40:04Z","updated_at":"2018-08-28T19:43:54Z","html_url":"https://github.com/Patr56/front-end-interview-handbook/pull/2#discussion_r213446160","pull_request_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/pulls/2","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/Patr56/front-end-interview-handbook/pulls/comments/213446160"},"html":{"href":"https://github.com/Patr56/front-end-interview-handbook/pull/2#discussion_r213446160"},"pull_request":{"href":"https://api.github.com/repos/Patr56/front-end-interview-handbook/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/pulls/2","id":211230351,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExMjMwMzUx","html_url":"https://github.com/Patr56/front-end-interview-handbook/pull/2","diff_url":"https://github.com/Patr56/front-end-interview-handbook/pull/2.diff","patch_url":"https://github.com/Patr56/front-end-interview-handbook/pull/2.patch","issue_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/issues/2","number":2,"state":"open","locked":false,"title":"Feature/001 html","user":{"login":"Patr56","id":5564729,"node_id":"MDQ6VXNlcjU1NjQ3Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/5564729?v=4","gravatar_id":"","url":"https://api.github.com/users/Patr56","html_url":"https://github.com/Patr56","followers_url":"https://api.github.com/users/Patr56/followers","following_url":"https://api.github.com/users/Patr56/following{/other_user}","gists_url":"https://api.github.com/users/Patr56/gists{/gist_id}","starred_url":"https://api.github.com/users/Patr56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Patr56/subscriptions","organizations_url":"https://api.github.com/users/Patr56/orgs","repos_url":"https://api.github.com/users/Patr56/repos","events_url":"https://api.github.com/users/Patr56/events{/privacy}","received_events_url":"https://api.github.com/users/Patr56/received_events","type":"User","site_admin":false},"body":"<!--\r\nWe typically do not accept submissions for new questions. This is because the [original questions repository](https://github.com/h5bp/Front-end-Developer-Interview-Questions) has been curated by a team of industry professionals and we use it as ground truth and keep our answers in sync with the questions/answers as much as possible. If you are keen to add a question/answer, firstly try to submit an issue/pull request to that repository, once your question is merged, you can then make a pull request with your answers to this repository.\r\n\r\nYou are welcome to make improvements to existing answers and/or answer unanswered questions. Try to add a list of references you used when arriving at the answers or any supplementary material that might be useful. This would be helpful for readers who would like to go further in-depth into the answer.\r\n-->\r\nПеревод для 7 и 8 вопроса в HTML","created_at":"2018-08-27T21:01:48Z","updated_at":"2018-08-28T19:43:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8f26cff834f3c354cdae01a1c7ca980b9f3681b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/issues/2/comments","statuses_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/statuses/5cabfd6a29560b7c82e60486dfd4419a31d6edc3","head":{"label":"Patr56:feature/001-html","ref":"feature/001-html","sha":"5cabfd6a29560b7c82e60486dfd4419a31d6edc3","user":{"login":"Patr56","id":5564729,"node_id":"MDQ6VXNlcjU1NjQ3Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/5564729?v=4","gravatar_id":"","url":"https://api.github.com/users/Patr56","html_url":"https://github.com/Patr56","followers_url":"https://api.github.com/users/Patr56/followers","following_url":"https://api.github.com/users/Patr56/following{/other_user}","gists_url":"https://api.github.com/users/Patr56/gists{/gist_id}","starred_url":"https://api.github.com/users/Patr56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Patr56/subscriptions","organizations_url":"https://api.github.com/users/Patr56/orgs","repos_url":"https://api.github.com/users/Patr56/repos","events_url":"https://api.github.com/users/Patr56/events{/privacy}","received_events_url":"https://api.github.com/users/Patr56/received_events","type":"User","site_admin":false},"repo":{"id":145840043,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU4NDAwNDM=","name":"front-end-interview-handbook","full_name":"Patr56/front-end-interview-handbook","owner":{"login":"Patr56","id":5564729,"node_id":"MDQ6VXNlcjU1NjQ3Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/5564729?v=4","gravatar_id":"","url":"https://api.github.com/users/Patr56","html_url":"https://github.com/Patr56","followers_url":"https://api.github.com/users/Patr56/followers","following_url":"https://api.github.com/users/Patr56/following{/other_user}","gists_url":"https://api.github.com/users/Patr56/gists{/gist_id}","starred_url":"https://api.github.com/users/Patr56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Patr56/subscriptions","organizations_url":"https://api.github.com/users/Patr56/orgs","repos_url":"https://api.github.com/users/Patr56/repos","events_url":"https://api.github.com/users/Patr56/events{/privacy}","received_events_url":"https://api.github.com/users/Patr56/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Patr56/front-end-interview-handbook","description":"🕸 Almost complete answers to \"Front-end Job Interview Questions\" which you can use to interview potential candidates, test yourself or completely ignore","fork":true,"url":"https://api.github.com/repos/Patr56/front-end-interview-handbook","forks_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/forks","keys_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/teams","hooks_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/hooks","issue_events_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/issues/events{/number}","events_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/events","assignees_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/assignees{/user}","branches_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/branches{/branch}","tags_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/tags","blobs_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/statuses/{sha}","languages_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/languages","stargazers_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/stargazers","contributors_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/contributors","subscribers_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/subscribers","subscription_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/subscription","commits_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/contents/{+path}","compare_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/merges","archive_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/downloads","issues_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/issues{/number}","pulls_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/pulls{/number}","milestones_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/milestones{/number}","notifications_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/labels{/name}","releases_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/releases{/id}","deployments_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/deployments","created_at":"2018-08-23T10:46:11Z","updated_at":"2018-08-23T10:46:13Z","pushed_at":"2018-08-27T21:01:49Z","git_url":"git://github.com/Patr56/front-end-interview-handbook.git","ssh_url":"git@github.com:Patr56/front-end-interview-handbook.git","clone_url":"https://github.com/Patr56/front-end-interview-handbook.git","svn_url":"https://github.com/Patr56/front-end-interview-handbook","homepage":"","size":1081,"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":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Patr56:feature/russian-translate","ref":"feature/russian-translate","sha":"51d55421bba8e5fca1207d1e8606a0e22b5ddb39","user":{"login":"Patr56","id":5564729,"node_id":"MDQ6VXNlcjU1NjQ3Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/5564729?v=4","gravatar_id":"","url":"https://api.github.com/users/Patr56","html_url":"https://github.com/Patr56","followers_url":"https://api.github.com/users/Patr56/followers","following_url":"https://api.github.com/users/Patr56/following{/other_user}","gists_url":"https://api.github.com/users/Patr56/gists{/gist_id}","starred_url":"https://api.github.com/users/Patr56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Patr56/subscriptions","organizations_url":"https://api.github.com/users/Patr56/orgs","repos_url":"https://api.github.com/users/Patr56/repos","events_url":"https://api.github.com/users/Patr56/events{/privacy}","received_events_url":"https://api.github.com/users/Patr56/received_events","type":"User","site_admin":false},"repo":{"id":145840043,"node_id":"MDEwOlJlcG9zaXRvcnkxNDU4NDAwNDM=","name":"front-end-interview-handbook","full_name":"Patr56/front-end-interview-handbook","owner":{"login":"Patr56","id":5564729,"node_id":"MDQ6VXNlcjU1NjQ3Mjk=","avatar_url":"https://avatars1.githubusercontent.com/u/5564729?v=4","gravatar_id":"","url":"https://api.github.com/users/Patr56","html_url":"https://github.com/Patr56","followers_url":"https://api.github.com/users/Patr56/followers","following_url":"https://api.github.com/users/Patr56/following{/other_user}","gists_url":"https://api.github.com/users/Patr56/gists{/gist_id}","starred_url":"https://api.github.com/users/Patr56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Patr56/subscriptions","organizations_url":"https://api.github.com/users/Patr56/orgs","repos_url":"https://api.github.com/users/Patr56/repos","events_url":"https://api.github.com/users/Patr56/events{/privacy}","received_events_url":"https://api.github.com/users/Patr56/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Patr56/front-end-interview-handbook","description":"🕸 Almost complete answers to \"Front-end Job Interview Questions\" which you can use to interview potential candidates, test yourself or completely ignore","fork":true,"url":"https://api.github.com/repos/Patr56/front-end-interview-handbook","forks_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/forks","keys_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/teams","hooks_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/hooks","issue_events_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/issues/events{/number}","events_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/events","assignees_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/assignees{/user}","branches_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/branches{/branch}","tags_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/tags","blobs_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/statuses/{sha}","languages_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/languages","stargazers_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/stargazers","contributors_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/contributors","subscribers_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/subscribers","subscription_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/subscription","commits_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/contents/{+path}","compare_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/merges","archive_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/downloads","issues_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/issues{/number}","pulls_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/pulls{/number}","milestones_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/milestones{/number}","notifications_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/labels{/name}","releases_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/releases{/id}","deployments_url":"https://api.github.com/repos/Patr56/front-end-interview-handbook/deployments","created_at":"2018-08-23T10:46:11Z","updated_at":"2018-08-23T10:46:13Z","pushed_at":"2018-08-27T21:01:49Z","git_url":"git://github.com/Patr56/front-end-interview-handbook.git","ssh_url":"git@github.com:Patr56/front-end-interview-handbook.git","clone_url":"https://github.com/Patr56/front-end-interview-handbook.git","svn_url":"https://github.com/Patr56/front-end-interview-handbook","homepage":"","size":1081,"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":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Patr56/front-end-interview-handbook/pulls/2"},"html":{"href":"https://github.com/Patr56/front-end-interview-handbook/pull/2"},"issue":{"href":"https://api.github.com/repos/Patr56/front-end-interview-handbook/issues/2"},"comments":{"href":"https://api.github.com/repos/Patr56/front-end-interview-handbook/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Patr56/front-end-interview-handbook/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Patr56/front-end-interview-handbook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Patr56/front-end-interview-handbook/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Patr56/front-end-interview-handbook/statuses/5cabfd6a29560b7c82e60486dfd4419a31d6edc3"}},"author_association":"OWNER"}}
{"actor":{"display_login":"astorre88"}}