From 7ffc0921d7cfc852d56eecf05f71535e8781d1a1 Mon Sep 17 00:00:00 2001 From: kichik Date: Sun, 9 Jun 2019 19:50:33 +0600 Subject: [PATCH 01/45] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=B2=D0=B5?= =?UTF-8?q?=D1=81=D1=82=D0=B8=20=D0=BC=D0=B0=D1=82=D0=B5=D1=80=D0=B8=D0=B0?= =?UTF-8?q?=D0=BB=20=D0=B8=20=D0=B7=D0=B0=D0=B4=D0=B0=D1=87=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../1-createtextnode-vs-innerhtml/solution.md | 8 +- .../1-createtextnode-vs-innerhtml/task.md | 4 +- .../10-clock-setinterval/solution.md | 16 +- .../solution.view/index.html | 10 +- .../source.view/index.html | 8 +- .../10-clock-setinterval/task.md | 6 +- .../11-append-to-list/solution.md | 4 +- .../11-append-to-list/task.md | 4 +- .../12-sort-table/solution.md | 14 +- .../12-sort-table/solution.view/index.html | 6 +- .../12-sort-table/source.view/index.html | 8 +- .../12-sort-table/task.md | 14 +- .../4-clear-elem/solution.md | 10 +- .../4-clear-elem/task.md | 12 +- .../5-why-aaa/solution.md | 10 +- .../07-modifying-document/5-why-aaa/task.md | 10 +- .../6-create-list/solution.md | 2 +- .../6-create-list/solution.view/index.html | 4 +- .../6-create-list/task.md | 16 +- .../build-tree-dom.view/index.html | 24 +- .../innerhtml.view/index.html | 22 +- .../7-create-object-tree/solution.md | 2 +- .../source.view/index.html | 44 +-- .../7-create-object-tree/task.md | 42 +-- .../8-tree-count/solution.md | 2 +- .../8-tree-count/solution.view/index.html | 36 +-- .../8-tree-count/source.view/index.html | 34 +- .../8-tree-count/task.md | 8 +- .../9-calendar-table/solution.md | 14 +- .../9-calendar-table/solution.view/index.html | 20 +- .../9-calendar-table/source.view/index.html | 2 +- .../9-calendar-table/task.md | 12 +- .../07-modifying-document/article.md | 306 +++++++++--------- 33 files changed, 367 insertions(+), 367 deletions(-) diff --git a/2-ui/1-document/07-modifying-document/1-createtextnode-vs-innerhtml/solution.md b/2-ui/1-document/07-modifying-document/1-createtextnode-vs-innerhtml/solution.md index 93ae862fd6..5c248609c6 100644 --- a/2-ui/1-document/07-modifying-document/1-createtextnode-vs-innerhtml/solution.md +++ b/2-ui/1-document/07-modifying-document/1-createtextnode-vs-innerhtml/solution.md @@ -1,15 +1,15 @@ -Answer: **1 and 3**. +Ответ: **1 и 3**. -Both commands result in adding the `text` "as text" into the `elem`. +Результатом обеих команд будет добавление `text` "как текст" в `elem`. -Here's an example: +Пример: ```html run height=80
- - + + - - + + diff --git a/2-ui/1-document/07-modifying-document/10-clock-setinterval/source.view/index.html b/2-ui/1-document/07-modifying-document/10-clock-setinterval/source.view/index.html index ecf5df99af..e17213b386 100644 --- a/2-ui/1-document/07-modifying-document/10-clock-setinterval/source.view/index.html +++ b/2-ui/1-document/07-modifying-document/10-clock-setinterval/source.view/index.html @@ -2,11 +2,11 @@ - - + + - - + + diff --git a/2-ui/1-document/07-modifying-document/10-clock-setinterval/task.md b/2-ui/1-document/07-modifying-document/10-clock-setinterval/task.md index 70bc2ae9d7..615c6ba526 100644 --- a/2-ui/1-document/07-modifying-document/10-clock-setinterval/task.md +++ b/2-ui/1-document/07-modifying-document/10-clock-setinterval/task.md @@ -2,10 +2,10 @@ importance: 4 --- -# Colored clock with setInterval +# Цветные часы с использованием setInterval -Create a colored clock like here: +Создайте цветные часы как в примере ниже: [iframe src="solution" height=60] -Use HTML/CSS for the styling, Javascript only updates time in elements. +Используйте HTML/CSS для стилизации, Javascript только обновляет время в элементах. diff --git a/2-ui/1-document/07-modifying-document/11-append-to-list/solution.md b/2-ui/1-document/07-modifying-document/11-append-to-list/solution.md index 4e77fb5cbf..4143a69000 100644 --- a/2-ui/1-document/07-modifying-document/11-append-to-list/solution.md +++ b/2-ui/1-document/07-modifying-document/11-append-to-list/solution.md @@ -1,7 +1,7 @@ -When we need to insert a piece of HTML somewhere, `insertAdjacentHTML` is the best fit. +Когда нам необходимо вставить фрагмент HTML-кода, можно использовать `insertAdjacentHTML`, он лучше всего подходит для таких задач. -The solution: +Решение: ```js one.insertAdjacentHTML('afterend', '
  • 2
  • 3
  • '); diff --git a/2-ui/1-document/07-modifying-document/11-append-to-list/task.md b/2-ui/1-document/07-modifying-document/11-append-to-list/task.md index 543cd3e466..a65adad440 100644 --- a/2-ui/1-document/07-modifying-document/11-append-to-list/task.md +++ b/2-ui/1-document/07-modifying-document/11-append-to-list/task.md @@ -2,9 +2,9 @@ importance: 5 --- -# Insert the HTML in the list +# Вставьте HTML в список -Write the code to insert `
  • 2
  • 3
  • ` between two `
  • ` here: +Напишите код для вставки `
  • 2
  • 3
  • ` между этими двумя `
  • `: ```html