{"action":"created","issue":{"url":"https://api.github.com/repos/EkaterynaB/EkaterynaB.github.io/issues/15","repository_url":"https://api.github.com/repos/EkaterynaB/EkaterynaB.github.io","labels_url":"https://api.github.com/repos/EkaterynaB/EkaterynaB.github.io/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/EkaterynaB/EkaterynaB.github.io/issues/15/comments","events_url":"https://api.github.com/repos/EkaterynaB/EkaterynaB.github.io/issues/15/events","html_url":"https://github.com/EkaterynaB/EkaterynaB.github.io/issues/15","id":133596160,"number":15,"title":"JS lesson13-14","user":{"login":"EkaterynaB","id":15038001,"avatar_url":"https://avatars.githubusercontent.com/u/15038001?v=3","gravatar_id":"","url":"https://api.github.com/users/EkaterynaB","html_url":"https://github.com/EkaterynaB","followers_url":"https://api.github.com/users/EkaterynaB/followers","following_url":"https://api.github.com/users/EkaterynaB/following{/other_user}","gists_url":"https://api.github.com/users/EkaterynaB/gists{/gist_id}","starred_url":"https://api.github.com/users/EkaterynaB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EkaterynaB/subscriptions","organizations_url":"https://api.github.com/users/EkaterynaB/orgs","repos_url":"https://api.github.com/users/EkaterynaB/repos","events_url":"https://api.github.com/users/EkaterynaB/events{/privacy}","received_events_url":"https://api.github.com/users/EkaterynaB/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-15T00:19:37Z","updated_at":"2016-03-01T22:17:13Z","closed_at":null,"body":"ДЗ залила 13-14, но забыла добавить issue)"},"comment":{"url":"https://api.github.com/repos/EkaterynaB/EkaterynaB.github.io/issues/comments/190931975","html_url":"https://github.com/EkaterynaB/EkaterynaB.github.io/issues/15#issuecomment-190931975","issue_url":"https://api.github.com/repos/EkaterynaB/EkaterynaB.github.io/issues/15","id":190931975,"user":{"login":"sergolius","id":6389964,"avatar_url":"https://avatars.githubusercontent.com/u/6389964?v=3","gravatar_id":"","url":"https://api.github.com/users/sergolius","html_url":"https://github.com/sergolius","followers_url":"https://api.github.com/users/sergolius/followers","following_url":"https://api.github.com/users/sergolius/following{/other_user}","gists_url":"https://api.github.com/users/sergolius/gists{/gist_id}","starred_url":"https://api.github.com/users/sergolius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergolius/subscriptions","organizations_url":"https://api.github.com/users/sergolius/orgs","repos_url":"https://api.github.com/users/sergolius/repos","events_url":"https://api.github.com/users/sergolius/events{/privacy}","received_events_url":"https://api.github.com/users/sergolius/received_events","type":"User","site_admin":false},"created_at":"2016-03-01T22:17:13Z","updated_at":"2016-03-01T22:17:13Z","body":"1. `document.addEventListener('DOMContentLoaded');` без обработчика\r\n2. `document.getElementsByClassName` можно заменить на `document.querySelector`\r\n3. Лучше не использовать `[].forEach.call`. Если не хотите писать `for (var i = 0; i < input.length; i++) {`\r\nТо делайте так: `Array.prototype.forEach.call` - этот вариант использует меньше памяти.\r\n4. HTML типа: \"<p>You have \" + correctAnswers + \" correct and \" + wrongAnswers + \" incorrect answers.</p>\", можно так же вынести в отдельный шаблон как и \"test-template\".\r\n\r\nЗачет."}}