Skip to content

Commit 7b86629

Browse files
authored
Merge pull request #11 from sagit2002/master
Translated multiple files
2 parents e246b44 + efc9c66 commit 7b86629

File tree

4 files changed

+107
-110
lines changed

4 files changed

+107
-110
lines changed

Diff for: 2-ui/1-document/02-dom-nodes/elk.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<!DOCTYPE HTML>
22
<html>
33
<body>
4-
The truth about elk.
4+
ਐਲਕ ਬਾਰੇ ਸੱਚਾਈ.
55
<ol>
6-
<li>An elk is a smart</li>
6+
<li>ਏਲਕ ਚੁਸਤ ਹੈ</li>
77
<!-- comment -->
8-
<li>...and cunning animal!</li>
8+
<li>...ਅਤੇ ਚਲਾਕ ਜਾਨਵਰ!</li>
99
</ol>
1010
</body>
1111
</html>
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
We'll be using `rows` and `cells` properties to access diagonal table cells.
1+
ਅਸੀਂ ਇਸਤੇਮਾਲ ਕਰਾਂਗੇ `rows` ਅਤੇ `cells` properties ਡੀਗੋਨਲ ਟੇਬਲ ਸੈੱਲਾਂ ਤਕ ਪਹੁੰਚਣ ਲਈ.

Diff for: 2-ui/1-document/03-dom-navigation/4-select-diagonal-cells/task.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ importance: 5
22

33
---
44

5-
# Select all diagonal cells
5+
# ਸਾਰੇ ਵਿਕਰਣ ਸੈੱਲਾਂ ਦੀ ਚੋਣ ਕਰੋ
66

7-
Write the code to paint all diagonal table cells in red.
7+
ਸਾਰੇ ਡਿਗੋਨਲ ਟੇਬਲ ਸੈੱਲਸ ਨੂੰ ਲਾਲ ਰੰਗਣ ਲਈ ਕੋਡ ਲਿਖੋ.
88

9-
You'll need to get all diagonal `<td>` from the `<table>` and paint them using the code:
9+
ਤੁਹਾਨੂੰ ਸਾਰੇ ਡਿਗੋਨਲ ਪ੍ਰਾਪਤ ਕਰਨ ਦੀ ਜ਼ਰੂਰਤ ਹੋਏਗੀ `<td>` ਤੋਂ `<table>` ਤੱਕ ਅਤੇ ਕੋਡ ਦੀ ਵਰਤੋਂ ਕਰਕੇ ਉਨ੍ਹਾਂ ਨੂੰ ਪੇਂਟ ਕਰੋ:
1010

1111
```js
12-
// td should be the reference to the table cell
12+
// td ਟੇਬਲ ਸੈੱਲ ਦਾ ਹਵਾਲਾ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ
1313
td.style.backgroundColor = 'red';
1414
```
1515

16-
The result should be:
16+
ਨਤੀਜਾ ਇਹ ਹੋਣਾ ਚਾਹੀਦਾ ਹੈ:
1717

1818
[iframe src="solution" height=180]

0 commit comments

Comments
 (0)