Skip to content

Commit fcb6103

Browse files
authored
Merge pull request #155 from fatmabadri/master
2-ui/1-document/07-modifying-document
2 parents 4ae48eb + 728fca5 commit fcb6103

File tree

5 files changed

+26
-26
lines changed

5 files changed

+26
-26
lines changed

2-ui/1-document/07-modifying-document/1-createtextnode-vs-innerhtml/solution.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
Answer: **1 and 3**.
1+
Cevap: **1 ve 3**.
22

3-
Both commands result in adding the `text` "as text" into the `elem`.
3+
Her iki komut da 'metin'i(`text`) "elem" e 'metin olarak' eklemeyle sonuçlanır.
44

5-
Here's an example:
5+
İşte bir örnek:
66

77
```html run height=80
88
<div id="elem1"></div>

2-ui/1-document/07-modifying-document/10-clock-setinterval/solution.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
First, let's make HTML/CSS.
1+
İlk olarak, HTML/CSS yapalım.
22

3-
Each component of the time would look great in its own `<span>`:
3+
Zamanın her bir bileşeni kendi 'span'ının içinde harika görünecektir:
44

55
```html
66
<div id="clock">
77
<span class="hour">hh</span>:<span class="min">mm</span>:<span class="sec">ss</span>
88
</div>
99
```
1010

11-
Also we'll need CSS to color them.
11+
Ayrıca onları renklendirmek için CSS'ye ihtiyacımız olacak.
1212

13-
The `update` function will refresh the clock, to be called by `setInterval` every second:
13+
"Update" işlevi(function), her saniye "setInterval" tarafından çağrılmak üzere saati yeniler:
1414

1515
```js
1616
function update() {
@@ -32,9 +32,9 @@ function update() {
3232
}
3333
```
3434

35-
In the line `(*)` we every time check the current date. The calls to `setInterval` are not reliable: they may happen with delays.
35+
'(*)' Satırında, güncel tarihi kontrol ederiz. 'setInterval'a olan çağrılar güvenilir değildir: Onlar gecikmelere sebep olur.
3636

37-
The clock-managing functions:
37+
Saat yönetimi işlevleri:
3838

3939
```js
4040
let timerId;
@@ -50,4 +50,4 @@ function clockStop() {
5050
}
5151
```
5252

53-
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.
53+
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.

2-ui/1-document/07-modifying-document/10-clock-setinterval/task.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ importance: 4
44

55
# Colored clock with setInterval
66

7-
Create a colored clock like here:
7+
Buradaki gibi renklendirilmiş bir saat oluşturun:
88

99
[iframe src="solution" height=60]
1010

11-
Use HTML/CSS for the styling, JavaScript only updates time in elements.
11+
Şekillendirmek için HTML/CSS, sadece elementlerdeki zaman için Javascript kullanın.

2-ui/1-document/07-modifying-document/6-create-list/task.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ importance: 4
22

33
---
44

5-
# Create a list
5+
# Bir Liste Olustur
66

7-
Write an interface to create a list from user input.
7+
Kullanıcı girdisinden bir liste oluşturmak için bir arayüz yazın.
88

9-
For every list item:
9+
Her liste maddesi için:
1010

11-
1. Ask a user about its content using `prompt`.
12-
2. Create the `<li>` with it and add it to `<ul>`.
13-
3. Continue until the user cancels the input (by pressing `key:Esc` or CANCEL in prompt).
11+
1. 'Komut istem'(`prompt`)i kullanarak bir kullanıcıya içeriği hakkında sorun.
12+
2.Onunla `<li>`yi yarat ve onu `<ul>`ye ekle. Create the `<li>` with it and add it to `<ul>`.
13+
3. Kullanıcı girişi iptal edene kadar devam edin (komut isteminde `tuş:Esc` veya CANCEL'a basarak).
1414

15-
All elements should be created dynamically.
15+
Tüm elenetler dinamik olarak oluşturulmalıdır.
1616

17-
If a user types HTML-tags, they should be treated like a text.
17+
Eğer bir kullanıcı HTML etiketleri(tags) yazıyorsa, metin gibi davranılmalıdır.
1818

1919
[demo src="solution"]

2-ui/1-document/07-modifying-document/9-calendar-table/task.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ importance: 4
22

33
---
44

5-
# Create a calendar
5+
# Create a calendar
66

7-
Write a function `createCalendar(elem, year, month)`.
7+
Bir işlev(function) yazın: `createCalendar(elem, year, month)`.
88

9-
The call should create a calendar for the given year/month and put it inside `elem`.
9+
Çağrı, belirtilen yıl/ay için bir takvim oluşturmalıdır ve onu `elem` içine koymalıdır.
1010

11-
The calendar should be a table, where a week is `<tr>`, and a day is `<td>`. The table top should be `<th>` with weekday names: the first day should be Monday, and so on till Sunday.
11+
Takvim, bir haftanın `<tr>` ve bir günün `<td>` olduğu bir tablo olmalıdır. Üst tablo hafta içi isimleriyle `<th>` olmalıdır: ilk gün Pazartesi olmalı, ve Pazar gününe kadar böyle devam etmeli.
1212

13-
For instance, `createCalendar(cal, 2012, 9)` should generate in element `cal` the following calendar:
13+
Örneğin, `createCalendar(cal, 2012, 9)`, element `cal`da aşağidaki takvimi oluşturmalıdır.
1414

1515
[iframe height=210 src="solution"]
1616

17-
P.S. For this task it's enough to generate the calendar, should not yet be clickable.
17+
Not(P.S.-PostScript) Bu görev için takvimi oluşturmak yeterlidir, henüz tıklanabilir olmamalıdır.

0 commit comments

Comments
 (0)