Skip to content

Commit fc516c7

Browse files
JuYeong0413Violet-Bora-Lee
authored andcommitted
[과제번역] Part 2. 1.3 Walking the DOM #1043
1 parent a381490 commit fc516c7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
Lines changed: 1 addition & 1 deletion
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` 프로퍼티를 이용해 테이블의 대각선 셀에 접근합니다.

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

Lines changed: 5 additions & 5 deletions
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+
`<table>`에서 모든 대각선 `<td>`를 가져와 아래 코드를 이용해 칠해야 합니다.
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)