From 738ce1341ab5891f50c8d07ca343402bcb399068 Mon Sep 17 00:00:00 2001 From: fatmabadri Date: Sat, 20 Jun 2020 18:59:15 -0700 Subject: [PATCH 1/8] Translated solution.md --- .../1-createtextnode-vs-innerhtml/solution.md | 5 +++-- 1 file changed, 3 insertions(+), 2 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 a38f01645..b5511cc70 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,8 +1,9 @@ Answer: **1 and 3**. -Both commands result in adding the `text` "as text" into the `elem`. -Here's an example: +Her iki komut da 'metin'i(`text`) "elem" e 'metin olarak' eklemeyle sonuçlanır. + +İşte bir örnek: ```html run height=80
From 748294efd5340da6545f47e397758ac5b457a96b Mon Sep 17 00:00:00 2001 From: fatmabadri Date: Sat, 20 Jun 2020 21:06:40 -0700 Subject: [PATCH 2/8] Updated task.md for chapter 6-create list 2-ui/1-document/07-modifying-document/6-create-list/ --- .../07-modifying-document/6-create-list/task.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/2-ui/1-document/07-modifying-document/6-create-list/task.md b/2-ui/1-document/07-modifying-document/6-create-list/task.md index 43b0a34a7..6a7295e23 100644 --- a/2-ui/1-document/07-modifying-document/6-create-list/task.md +++ b/2-ui/1-document/07-modifying-document/6-create-list/task.md @@ -2,18 +2,18 @@ importance: 4 --- -# Create a list +# Bir Liste Olustur -Write an interface to create a list from user input. +Kullanıcı girdisinden bir liste oluşturmak için bir arayüz yazın. -For every list item: +Her liste maddesi için: -1. Ask a user about its content using `prompt`. -2. Create the `
  • ` with it and add it to `
      `. -3. Continue until the user cancels the input (by pressing `key:Esc` or CANCEL in prompt). +1. 'Komut istem'(`prompt`)i kullanarak bir kullanıcıya içeriği hakkında sorun. +2.Onunla `
    • `yi yarat ve onu `
        `ye ekle. Create the `
      • ` with it and add it to `
          `. +3. Kullanıcı girişi iptal edene kadar devam edin (komut isteminde `tuş:Esc` veya CANCEL'a basarak). -All elements should be created dynamically. +Tüm elenetler dinamik olarak oluşturulmalıdır. -If a user types HTML-tags, they should be treated like a text. +Eğer bir kullanıcı HTML etiketleri(tags) yazıyorsa, metin gibi davranılmalıdır. [demo src="solution"] From 3fcaa2c8981d8152c86239db29f0ab5765901f3e Mon Sep 17 00:00:00 2001 From: fatmabadri Date: Mon, 22 Jun 2020 01:18:33 -0700 Subject: [PATCH 3/8] Updated task.md for calendar table 07-modifying-document/9-calendar-table/task.md --- .../07-modifying-document/9-calendar-table/task.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/2-ui/1-document/07-modifying-document/9-calendar-table/task.md b/2-ui/1-document/07-modifying-document/9-calendar-table/task.md index 37b1a60d2..7c500c0f0 100644 --- a/2-ui/1-document/07-modifying-document/9-calendar-table/task.md +++ b/2-ui/1-document/07-modifying-document/9-calendar-table/task.md @@ -2,16 +2,16 @@ importance: 4 --- -# Create a calendar +# Takvim Oluşturma -Write a function `createCalendar(elem, year, month)`. +Bir işlev(function) yazın `createCalendar(elem, year, month)`. -The call should create a calendar for the given year/month and put it inside `elem`. +Çağrı, belirtilen yıl/ay için bir takvim oluşturmalıdır ve onu `elem` içine koymalıdır. -The calendar should be a table, where a week is ``, and a day is ``. The table top should be `` with weekday names: the first day should be Monday, and so on till Sunday. +Takvim, bir haftanın `` ve bir günün `` olduğu bir tablo olmalıdır. Üst tablo hafta içi isimleriyle `` olmalıdır: ilk gün Pazartesi olmalı, ve böyle devam ederek Pazar gününe kadar. -For instance, `createCalendar(cal, 2012, 9)` should generate in element `cal` the following calendar: +Örneğin, `createCalendar(cal, 2012, 9)`, element `cal`da asagidaki takvimi olusturmalıdır. [iframe height=210 src="solution"] -P.S. For this task it's enough to generate the calendar, should not yet be clickable. +Not(P.S.-PostScript) Bu görev için takvimi oluşturmak yeterlidir, henüz tıklanabilir olmamalıdır. From 889f4fd376b835f336c10d57b86084d06cf593b2 Mon Sep 17 00:00:00 2001 From: fatmabadri <10557131+fatmabadri@users.noreply.github.com> Date: Fri, 15 Jan 2021 13:38:51 -0800 Subject: [PATCH 4/8] Update solution.md --- .../1-createtextnode-vs-innerhtml/solution.md | 3 +-- 1 file changed, 1 insertion(+), 2 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 b5511cc70..428a8757b 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,5 +1,4 @@ -Answer: **1 and 3**. - +Cevap: **1 ve 3**. Her iki komut da 'metin'i(`text`) "elem" e 'metin olarak' eklemeyle sonuçlanır. From 0089509a9ce409b02a291f2b9253395f11ed716a Mon Sep 17 00:00:00 2001 From: fatmabadri <10557131+fatmabadri@users.noreply.github.com> Date: Fri, 15 Jan 2021 14:09:12 -0800 Subject: [PATCH 5/8] Update task.md --- .../07-modifying-document/9-calendar-table/task.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/2-ui/1-document/07-modifying-document/9-calendar-table/task.md b/2-ui/1-document/07-modifying-document/9-calendar-table/task.md index 7c500c0f0..297ee139d 100644 --- a/2-ui/1-document/07-modifying-document/9-calendar-table/task.md +++ b/2-ui/1-document/07-modifying-document/9-calendar-table/task.md @@ -2,15 +2,15 @@ importance: 4 --- -# Takvim Oluşturma +# Create a calendar -Bir işlev(function) yazın `createCalendar(elem, year, month)`. +Bir işlev(function) yazın: `createCalendar(elem, year, month)`. Çağrı, belirtilen yıl/ay için bir takvim oluşturmalıdır ve onu `elem` içine koymalıdır. -Takvim, bir haftanın `` ve bir günün `` olduğu bir tablo olmalıdır. Üst tablo hafta içi isimleriyle `` olmalıdır: ilk gün Pazartesi olmalı, ve böyle devam ederek Pazar gününe kadar. +Takvim, bir haftanın `` ve bir günün `` olduğu bir tablo olmalıdır. Üst tablo hafta içi isimleriyle `` olmalıdır: ilk gün Pazartesi olmalı, ve Pazar gününe kadar böyle devam etmeli. -Örneğin, `createCalendar(cal, 2012, 9)`, element `cal`da asagidaki takvimi olusturmalıdır. +Örneğin, `createCalendar(cal, 2012, 9)`, element `cal`da aşağidaki takvimi oluşturmalıdır. [iframe height=210 src="solution"] From 645b1c81fd60091c6de6455e3d0959de94a82bfe Mon Sep 17 00:00:00 2001 From: fatmabadri <10557131+fatmabadri@users.noreply.github.com> Date: Sat, 16 Jan 2021 16:30:55 -0800 Subject: [PATCH 6/8] Update task.md 2-ui/1-document/07-modifying-document/10-clock-setinterval/task.md --- .../07-modifying-document/10-clock-setinterval/task.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 a1b53e337..663ebc590 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 @@ -4,8 +4,8 @@ importance: 4 # Colored clock with setInterval -Create a colored clock like here: +Buradaki gibi renklendirilmiş saat oluşturun: [iframe src="solution" height=60] -Use HTML/CSS for the styling, JavaScript only updates time in elements. +Şekillendirmek için HTML/CSS, sadece elementlerdeki zaman için Javascript kullanın. From 0de582ef71e8bed4dc8057d48f10dc47cd2e9fe2 Mon Sep 17 00:00:00 2001 From: fatmabadri <10557131+fatmabadri@users.noreply.github.com> Date: Sat, 16 Jan 2021 16:31:32 -0800 Subject: [PATCH 7/8] Update task.md --- .../07-modifying-document/10-clock-setinterval/task.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 663ebc590..0307c934e 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 @@ -4,7 +4,7 @@ importance: 4 # Colored clock with setInterval -Buradaki gibi renklendirilmiş saat oluşturun: +Buradaki gibi renklendirilmiş bir saat oluşturun: [iframe src="solution" height=60] From 728fca57e485187b84416107af54deec7828f3b7 Mon Sep 17 00:00:00 2001 From: fatmabadri <10557131+fatmabadri@users.noreply.github.com> Date: Sat, 16 Jan 2021 17:03:31 -0800 Subject: [PATCH 8/8] Update solution.md 2-ui/1-document/07-modifying-document/10-clock-setinterval/solution.md --- .../10-clock-setinterval/solution.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/2-ui/1-document/07-modifying-document/10-clock-setinterval/solution.md b/2-ui/1-document/07-modifying-document/10-clock-setinterval/solution.md index 15238fcf4..be6d8123f 100644 --- a/2-ui/1-document/07-modifying-document/10-clock-setinterval/solution.md +++ b/2-ui/1-document/07-modifying-document/10-clock-setinterval/solution.md @@ -1,6 +1,6 @@ -First, let's make HTML/CSS. +İlk olarak, HTML/CSS yapalım. -Each component of the time would look great in its own ``: +Zamanın her bir bileşeni kendi 'span'ının içinde harika görünecektir: ```html
          @@ -8,9 +8,9 @@ Each component of the time would look great in its own ``:
          ``` -Also we'll need CSS to color them. +Ayrıca onları renklendirmek için CSS'ye ihtiyacımız olacak. -The `update` function will refresh the clock, to be called by `setInterval` every second: +"Update" işlevi(function), her saniye "setInterval" tarafından çağrılmak üzere saati yeniler: ```js function update() { @@ -32,9 +32,9 @@ function update() { } ``` -In the line `(*)` we every time check the current date. The calls to `setInterval` are not reliable: they may happen with delays. +'(*)' Satırında, güncel tarihi kontrol ederiz. 'setInterval'a olan çağrılar güvenilir değildir: Onlar gecikmelere sebep olur. -The clock-managing functions: +Saat yönetimi işlevleri: ```js let timerId; @@ -50,4 +50,4 @@ function clockStop() { } ``` -Please note that the call to `update()` is not only scheduled in `clockStart()`, but immediately run in the line `(*)`. Otherwise the visitor would have to wait till the first execution of `setInterval`. And the clock would be empty till then. +Lütfen not edin ki, 'update()'e olan çağrı sadece 'clockStart()'da planlanmamıştır, ama anında '(*)' satırında çalışmaya başlar. Yoksa, ziyaretçi `setInterval`in ilk uygulanmasına kadar beklemek zorunda olacaktır. Ve o zamana kadar da saat boş olacaktır.